deleting videos, 404
This commit is contained in:
parent
b38fb151ac
commit
62645ddd93
8 changed files with 67 additions and 5 deletions
4
index.js
4
index.js
|
@ -41,6 +41,10 @@ app.get('/pfp/*', (req,res) => {
|
|||
res.redirect(301,'/static/img/logo.svg')
|
||||
})
|
||||
|
||||
app.get('*', (req,res) => {
|
||||
res.redirect(301,'/client/404');
|
||||
})
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`App listening on port ${port}`)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue