fix redirect
This commit is contained in:
parent
ae7cec342e
commit
e3d4001d0a
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue