From cdeb7725459c43cffb3780bd0428a756419bf621 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 15 Mar 2022 20:54:02 +0100 Subject: [PATCH] Fix relative path --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2f95777..a74c0af 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ import staticRoute from './routes/static.js' import utilRoute from './routes/util.js' const app = express() -const packageData = JSON.parse(readFileSync('package.json')) +const packageData = JSON.parse(readFileSync('./package.json')) app.set('env', process.env.NODE_ENV || "production") app.engine('pug', pug.__express).set('view engine', 'pug')