fixed embed view path. fixes #597 #598

Merged
lyoshenka merged 1 commit from fix-path into master 2018-09-12 23:16:15 +02:00
Showing only changes of commit 3ca7f62414 - Show all commits

View file

@ -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',