Use ejs to render the app cache and cache buster tokens

This commit is contained in:
Sulka Haro
2017-08-27 14:34:46 +03:00
parent 2bae58b567
commit 4d0a3728cc
6 changed files with 83 additions and 12 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ function headless (benv, binding) {
function init (opts, callback) {
var localStorage = opts.localStorage || './localstorage';
var htmlFile = opts.htmlFile || __dirname + '/../../static/index.html';
var htmlFile = opts.htmlFile || __dirname + '/../../views/index.html';
var serverSettings = opts.serverSettings || require('./default-server-settings');
var someData = opts.mockAjax || { };
benv.setup(function() {