make home redirect permanent
This commit is contained in:
parent
233e2f3e22
commit
e8fabb0a78
1 changed files with 1 additions and 1 deletions
2
index.js
2
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) => {
|
||||
|
|
Loading…
Reference in a new issue