Upload app.py
Browse files
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"] = "
|
| 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"] = (
|