add a dynamic js script for page config

This commit is contained in:
Danny Coates 2017-07-19 14:00:10 -07:00
parent 262322b9e8
commit 85a7be01cb
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 15 additions and 28 deletions

View file

@ -0,0 +1,6 @@
{{#if dsn}}
window.dsn = '{{{dsn}}}';
{{/if}}
{{#if trackerId}}
window.trackerId = '{{{trackerId}}}';
{{/if}}