Merge pull request #598 from lbryio/fix-path

fixed embed view path. fixes #597
This commit is contained in:
Shawn K 2018-09-12 17:16:14 -04:00 committed by GitHub
commit fcfc57dcfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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