fixed embed view path. fixes #597 #598
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ function Server () {
|
||||||
app.use(speechPassport.session());
|
app.use(speechPassport.session());
|
||||||
|
|
||||||
// configure handlebars & register it with express app
|
// 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({
|
app.engine('handlebars', expressHandlebars({
|
||||||
async : false,
|
async : false,
|
||||||
dataType : 'text',
|
dataType : 'text',
|
||||||
|
|
Loading…
Reference in a new issue