fix redirect

This commit is contained in:
hippoz 2020-10-05 00:33:49 +03:00
parent ae7cec342e
commit e3d4001d0a

View file

@ -75,7 +75,8 @@ const corsOptions = {
app.get('/', (req, res) => { app.get('/', (req, res) => {
// res.render('upload'); // res.render('upload');
res.redirect(config.url); // 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/');
}); });
app.get('/file/:filename', (req, res) => { app.get('/file/:filename', (req, res) => {