From 3ca7f62414c244045667fd372bae07ade965e9ab Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Wed, 12 Sep 2018 17:08:37 -0400 Subject: [PATCH] fixed embed view path. fixes #597 --- server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/index.js b/server/index.js index 85222a71..bd0cf4eb 100644 --- a/server/index.js +++ b/server/index.js @@ -66,7 +66,7 @@ function Server () { app.use(speechPassport.session()); // configure handlebars & register it with express app - const viewsPath = Path.resolve(process.cwd(), 'node_modules/spee.ch/server/views'); + const viewsPath = Path.resolve(process.cwd(), 'server/views'); app.engine('handlebars', expressHandlebars({ async : false, dataType : 'text',