From 0c7f682a26351dacd1299adfea9ad271f8c60517 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 15 Mar 2022 23:17:55 +0100 Subject: [PATCH] Fix paths --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index a15571a..65b9818 100644 --- a/src/index.js +++ b/src/index.js @@ -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)