mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-10 04:05:34 +00:00
add a dynamic js script for page config
This commit is contained in:
6
views/jsconfig.handlebars
Normal file
6
views/jsconfig.handlebars
Normal file
@@ -0,0 +1,6 @@
|
||||
{{#if dsn}}
|
||||
window.dsn = '{{{dsn}}}';
|
||||
{{/if}}
|
||||
{{#if trackerId}}
|
||||
window.trackerId = '{{{trackerId}}}';
|
||||
{{/if}}
|
||||
Reference in New Issue
Block a user