Fix #614. Can not enable dnssec

This commit is contained in:
Khanh Ngo 2019-12-19 21:50:15 +07:00
parent 93cd64ac75
commit 5567886aa3
No known key found for this signature in database
GPG Key ID: A945965CD6351844
2 changed files with 5 additions and 1 deletions

View File

@ -172,7 +172,8 @@ def dashboard():
history_number=history_number,
uptime=uptime,
histories=history,
show_bg_domain_button=BG_DOMAIN_UPDATE)
show_bg_domain_button=BG_DOMAIN_UPDATE,
pdns_version=Setting().get('pdns_version'))
@dashboard_bp.route('/domains-updater', methods=['GET', 'POST'])

View File

@ -171,6 +171,9 @@
<script type="text/javascript">
$SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
</script>
<script type="text/javascript">
var PDNS_VERSION = '{{ pdns_version }}'
</script>
{% block scripts %}
{% assets "js_main" -%}
<script type="text/javascript" src="{{ ASSET_URL }}"></script>