css improvements
This commit is contained in:
parent
3929c07717
commit
5b9197bb20
11 changed files with 385 additions and 242 deletions
4
index.js
4
index.js
|
@ -37,6 +37,10 @@ app.post('/api/upload/:route', upload.single('file'), async (req, res) => {
|
|||
res.send(await iterate(req, res, 'form'));
|
||||
})
|
||||
|
||||
app.get('/pfp/*', (req,res) => {
|
||||
res.redirect(301,'/static/img/logo.svg')
|
||||
})
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`App listening on port ${port}`)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue