Fix paths

This commit is contained in:
Yarmo Mackenbach 2022-03-15 23:17:55 +01:00
parent 0a7f656c2d
commit 0c7f682a26
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -69,8 +69,8 @@ app.use(stringReplace({
}))
// Routes
app.use('/favicon.svg', express.static('../static/favicon.svg'))
app.use('/robots.txt', express.static('../static/robots.txt'))
app.use('/favicon.svg', express.static('./static/favicon.svg'))
app.use('/robots.txt', express.static('./static/robots.txt'))
app.use('/', mainRoute)
app.use('/api', apiRoute)