mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 09:30:31 +00:00
Removed logging of headers as it caused trouble while showing logfile in UI
This commit is contained in:
parent
422c1893c0
commit
9a896ea81e
@ -133,7 +133,7 @@ def add_security_headers(resp):
|
||||
resp.headers['X-Frame-Options'] = 'SAMEORIGIN'
|
||||
resp.headers['X-XSS-Protection'] = '1; mode=block'
|
||||
resp.headers['Strict-Transport-Security'] = 'max-age=31536000; includeSubDomains'
|
||||
log.debug(request.headers)
|
||||
# log.debug(request.full_path)
|
||||
return resp
|
||||
|
||||
web = Blueprint('web', __name__)
|
||||
|
Loading…
Reference in New Issue
Block a user