1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-22 19:17:38 +00:00

Added option to save books with no nenglish characters

Imporvements on metadata search
This commit is contained in:
Ozzie Isaacs
2021-08-01 13:50:17 +02:00
parent 702e96ddd6
commit ceec1051d5
17 changed files with 76 additions and 43 deletions

View File

@@ -84,7 +84,7 @@ except ImportError:
@app.after_request
def add_security_headers(resp):
resp.headers['Content-Security-Policy']= "script-src 'self'"
resp.headers['Content-Security-Policy']= "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src * data:"
resp.headers['X-Content-Type-Options'] = 'nosniff'
resp.headers['X-Frame-Options'] = 'SAMEORIGIN'
resp.headers['X-XSS-Protection'] = '1; mode=block'