mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
Fix: wrap livereload.js in DEBUG conditional (#2543)
Co-authored-by: al-munazzim <al-munazzim@users.noreply.github.com>
This commit is contained in:
parent
7fa79ed5f5
commit
a60e98ea8e
1 changed files with 2 additions and 0 deletions
|
|
@ -13,7 +13,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='typography.css') }}?{{rand}}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='output.css') }}?{{rand}}">
|
||||
|
||||
{% if config.DEBUG %}
|
||||
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
|
||||
{% endif %}
|
||||
<script type="text/javascript" src="{{ url_for('static', filename='helpers.js') }}"></script>
|
||||
|
||||
{% include "includes/helpers.jinja" %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue