diff --git a/index.js b/index.js index cd13d3e..962c27a 100644 --- a/index.js +++ b/index.js @@ -76,7 +76,7 @@ const corsOptions = { app.get('/', (req, res) => { // res.render('upload'); // TODO: this is only for hippoz. remove the line below and uncomment the line above if you are not hippoz man - res.redirect('https://hippoz.xyz/'); + res.redirect(301, 'https://hippoz.xyz/'); }); app.get('/file/:filename', (req, res) => {