nikeshn commited on
Commit
23c9744
·
verified ·
1 Parent(s): ed6eff9

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -161,7 +161,7 @@ async def security_headers(request: Request, call_next):
161
  """
162
  response = await call_next(request)
163
  response.headers["X-Content-Type-Options"] = "nosniff"
164
- response.headers["X-Frame-Options"] = "DENY"
165
  response.headers["Referrer-Policy"] = "strict-origin-when-cross-origin"
166
  response.headers["X-XSS-Protection"] = "1; mode=block"
167
  response.headers["Permissions-Policy"] = (
 
161
  """
162
  response = await call_next(request)
163
  response.headers["X-Content-Type-Options"] = "nosniff"
164
+ response.headers["X-Frame-Options"] = "SAMEORIGIN"
165
  response.headers["Referrer-Policy"] = "strict-origin-when-cross-origin"
166
  response.headers["X-XSS-Protection"] = "1; mode=block"
167
  response.headers["Permissions-Policy"] = (