Skip to content

Commit

Permalink
feat:update corp (#1998)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilayda-cp authored Sep 12, 2024
1 parent e5a8a3c commit 5a021e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def add_headers(response):
resources without credentials
- Cross-Origin-Opener-Policy: enable the page to open pop-ups while
maintaining same-origin policy
- Cross-Origin-Resource-Policy: allowing only same-origin requests to
- Cross-Origin-Resource-Policy: allowing cross-origin requests to
access the resource
- X-Permitted-Cross-Domain-Policies: disallows cross-domain access to
resources
Expand All @@ -159,6 +159,6 @@ def add_headers(response):
response.headers["Cross-Origin-Opener-Policy"] = (
"same-origin-allow-popups"
)
response.headers["Cross-Origin-Resource-Policy"] = "same-site"
response.headers["Cross-Origin-Resource-Policy"] = "cross-origin"
response.headers["X-Permitted-Cross-Domain-Policies"] = "none"
return response

0 comments on commit 5a021e0

Please sign in to comment.