diff options
Diffstat (limited to 'src/hydrilla/proxy/policies/js_templates')
-rw-r--r-- | src/hydrilla/proxy/policies/js_templates/page_init_script.js.jinja | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hydrilla/proxy/policies/js_templates/page_init_script.js.jinja b/src/hydrilla/proxy/policies/js_templates/page_init_script.js.jinja index 3a8382c..629b008 100644 --- a/src/hydrilla/proxy/policies/js_templates/page_init_script.js.jinja +++ b/src/hydrilla/proxy/policies/js_templates/page_init_script.js.jinja @@ -65,6 +65,9 @@ code in a proprietary program, I am not going to enforce this in court. } const unique_token = decode_jinja("{{ unique_token_encoded }}"); const assets_base_url = decode_jinja("{{ assets_base_url_encoded }}"); + window.haketilo_version = JSON.parse( + decode_jinja("{{ haketilo_version }}") + ); /* Make it possible to serialize an Error object. */ function error_data_jsonifiable(error) { |