Use .js instead of .jst

Fix #5934
This commit is contained in:
Peter Jaszkowiak
2017-09-23 12:51:20 -06:00
parent f989988178
commit dc87d7fc0f
8 changed files with 12 additions and 12 deletions

View File

@@ -122,7 +122,7 @@ function setupExpressApp(app, callback) {
var viewsDir = nconf.get('views_dir');
app.engine('tpl', function (filepath, data, next) {
filepath = filepath.replace(/\.tpl$/, '.jst');
filepath = filepath.replace(/\.tpl$/, '.js');
middleware.templatesOnDemand({
filePath: filepath,