da76c217d4
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.
5 lines
72 B
Plaintext
5 lines
72 B
Plaintext
doctype html
|
|
script.
|
|
var secureID = '!{secureID}';
|
|
include index.html
|