make home redirect permanent

This commit is contained in:
hippoz 2020-10-07 19:10:20 +03:00
parent 233e2f3e22
commit e8fabb0a78

View file

@ -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) => {