typo
This commit is contained in:
parent
f1e1ee92d3
commit
cd3aea5cd6
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" src="{{ url_for('static', filename='js/assistant.google.js') }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.websocket_port = {% print(websocket_port) %};
|
window.websocket_port = {% print(websocket_port) %};
|
||||||
window.has_ssl = {% print(has_ssl ? 'true' : 'false') %};
|
window.has_ssl = {% print('true' if has_ssl else 'false') %};
|
||||||
|
|
||||||
{% if token %}
|
{% if token %}
|
||||||
window.token = '{% print(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" src="{{ url_for('static', filename='js/pushbullet.js') }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.websocket_port = {% print(websocket_port) %}
|
window.websocket_port = {% print(websocket_port) %}
|
||||||
window.has_ssl = {% print(has_ssl ? 'true' : 'false') %};
|
window.has_ssl = {% print('true' if has_ssl else 'false') %};
|
||||||
|
|
||||||
{% if token %}
|
{% if token %}
|
||||||
window.token = '{% print(token) %}'
|
window.token = '{% print(token) %}'
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.db_conf = JSON.parse('{{ utils.to_json(config["db"]) | safe }}');
|
window.db_conf = JSON.parse('{{ utils.to_json(config["db"]) | safe }}');
|
||||||
window.websocket_port = {{ websocket_port }};
|
window.websocket_port = {{ websocket_port }};
|
||||||
window.has_ssl = {% print(has_ssl ? 'true' : 'false') %};
|
window.has_ssl = {% print('true' if has_ssl else 'false') %};
|
||||||
window.map_start = "{{ start }}";
|
window.map_start = "{{ start }}";
|
||||||
window.map_end = "{{ end }}";
|
window.map_end = "{{ end }}";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue