Commit 9a896ea8 authored by Ozzieisaacs's avatar Ozzieisaacs

Removed logging of headers as it caused trouble while showing logfile in UI

parent 422c1893
......@@ -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__)
......
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