summaryrefslogtreecommitdiff
path: root/res/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'res/templates/index.html')
-rw-r--r--res/templates/index.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/res/templates/index.html b/res/templates/index.html
index 058bb576..d02a6f09 100644
--- a/res/templates/index.html
+++ b/res/templates/index.html
@@ -3,6 +3,16 @@
{% block head %}
{{ super() }}
<link href="/static/css/feedback.css" rel="stylesheet" type="text/css">
+<script>
+var rz_config = {
+ 'rand_id_generator' : 'hash',
+ 'rz_server_host': '{{ hostname }}',
+ 'rz_server_port': '{{ port }}',
+ 'backend_enabled': true,
+ 'backend__maintain_ws_connection': true,
+ 'feedback_url': '/feedback',
+};
+</script>
<script data-main='/static/app.js' src="/static/lib/require.js"></script>
<script src="/static/local_config.js"></script>
{% endblock %}