bool compatibility fix
This commit is contained in:
parent
51440d43fd
commit
f1e1ee92d3
3 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
|||
<script type="text/javascript" src="{{ url_for('static', filename='js/assistant.google.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
window.websocket_port = {% print(websocket_port) %};
|
||||
window.has_ssl = {% print(has_ssl) %};
|
||||
window.has_ssl = {% print(has_ssl ? 'true' : 'false') %};
|
||||
|
||||
{% if token %}
|
||||
window.token = '{% print(token) %}';
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<script type="text/javascript" src="{{ url_for('static', filename='js/pushbullet.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
window.websocket_port = {% print(websocket_port) %}
|
||||
window.has_ssl = {% print(has_ssl) %};
|
||||
window.has_ssl = {% print(has_ssl ? 'true' : 'false') %};
|
||||
|
||||
{% if token %}
|
||||
window.token = '{% print(token) %}'
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<script type="text/javascript">
|
||||
window.db_conf = JSON.parse('{{ utils.to_json(config["db"]) | safe }}');
|
||||
window.websocket_port = {{ websocket_port }};
|
||||
window.has_ssl = {% print(has_ssl) %};
|
||||
window.has_ssl = {% print(has_ssl ? 'true' : 'false') %};
|
||||
window.map_start = "{{ start }}";
|
||||
window.map_end = "{{ end }}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue