port over html code
This commit is contained in:
parent
60b3e373a1
commit
46906f8900
7 changed files with 4 additions and 204 deletions
2
index.js
2
index.js
|
@ -10,7 +10,7 @@ const app = express();
|
|||
app.use(express.json())
|
||||
app.set('trust proxy', true)
|
||||
|
||||
app.use(express.static('static'));
|
||||
//app.use(express.static('static'));
|
||||
|
||||
app.post('/', async function (req, res) {
|
||||
let ip = req.headers['X-Real-IP'] || req.ip;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue