debug: add config dump comments to settings page for tor/cache diagnosis

parent 93f09f5a
...@@ -347,6 +347,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. ...@@ -347,6 +347,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<h3 style="margin: 24px 0 16px; font-size:1em; color:#a0a0a0; border-bottom: 1px solid #0f3460; padding-bottom:8px;">Response Cache Configuration</h3> <h3 style="margin: 24px 0 16px; font-size:1em; color:#a0a0a0; border-bottom: 1px solid #0f3460; padding-bottom:8px;">Response Cache Configuration</h3>
<!-- DEBUG: {{ config.response_cache }} -->
<div class="form-group"> <div class="form-group">
<label> <label>
<input type="checkbox" name="response_cache_enabled" {% if config.response_cache and config.response_cache.enabled %}checked{% endif %}> <input type="checkbox" name="response_cache_enabled" {% if config.response_cache and config.response_cache.enabled %}checked{% endif %}>
...@@ -529,6 +531,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. ...@@ -529,6 +531,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<input type="checkbox" name="tor_enabled" id="tor_enabled" {% if config.tor and config.tor.enabled %}checked{% endif %} onchange="toggleTorFields()"> <input type="checkbox" name="tor_enabled" id="tor_enabled" {% if config.tor and config.tor.enabled %}checked{% endif %} onchange="toggleTorFields()">
Enable TOR Hidden Service Enable TOR Hidden Service
</label> </label>
<!-- DEBUG TOR: {{ config.tor }} -->
<small style="color: #666; display: block; margin-top: 5px;">Expose AISBF over TOR network as a hidden service</small> <small style="color: #666; display: block; margin-top: 5px;">Expose AISBF over TOR network as a hidden service</small>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment