diff --git a/index.js b/index.js index 3122a49..714c063 100644 --- a/index.js +++ b/index.js @@ -13,6 +13,9 @@ app.use(express.json()) app.set('trust proxy', true) //app.use(express.static('static')); +app.get('/', async function (req, res) { + res.redirect(302,'/index.html'); +}); app.post('/', async function (req, res) { let ip = req.headers['X-Real-IP'] || req.ip;