1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-12-10 10:18:05 +00:00

The recent changes to content security policy broke custom theming. I fixed it by adding a trusted hosts field to Server Configuration

This commit is contained in:
cbartondock
2021-10-22 15:35:10 -04:00
parent 95544ef885
commit c6bf62a6eb
4 changed files with 7 additions and 3 deletions

View File

@@ -46,6 +46,10 @@
<option value="2" {% if config.config_updatechannel == 2 %}selected{% endif %}>{{_('Nightly')}}</option>
</select>
</div>
<div class="form-group">
<label for="config_trustedhosts">{{_('Trusted Hosts (Comma Separated)')}}</label>
<input type="text" class="form-control" id="config_trustedhosts" name="config_trustedhosts" value="{% if config.trustedhosts != None %}{{ config.config_trustedhosts }}{% endif %}" autocomplete="off">
</div>
</div>
</div>
</div>