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:
@@ -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'
|
||||
|
Reference in New Issue
Block a user