From 958aad6f5e5e3d5989cf905074a18ee7d951d83c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gil?= Date: Thu, 4 Aug 2016 23:08:09 +0200 Subject: [PATCH] Reading x-manifest.webapp from current __dirname --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 348e5a20..47faaccd 100644 --- a/server.js +++ b/server.js @@ -29,7 +29,7 @@ if (!config.isDev) { app.use(xssFilter({ setOnOldIE: true })); app.use(helmet.noSniff()); -var webappManifest = fs.readFileSync('./public/x-manifest.webapp'); +var webappManifest = fs.readFileSync(__dirname + '/public/x-manifest.webapp'); app.set('views', __dirname + '/views'); app.set('view engine', 'jade');