Fix a bug where secureID wouldn't be sent on only the first load

The problem was because index.html was in the public folder and was
being served on the first page load instead of the Pug view being
rendered. The solution was to move it into the views folder so that the
only way to get to it was through the template engine.
This commit is contained in:
Tanner Collin 2017-01-10 17:43:31 +00:00
parent ea1c6810a6
commit da76c217d4
2 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
doctype html doctype html
script. script.
var secureID = '!{secureID}'; var secureID = '!{secureID}';
include ../public/index.html include index.html