Skip to content

Commit

Permalink
Merge pull request #1299 from cisagov/rh/476-federalist-cors
Browse files Browse the repository at this point in the history
Issue #476: Adding CORS headers for cloud.gov site pages
  • Loading branch information
therealslimhsiehdy authored Nov 8, 2023
2 parents 7e52b0d + 802f809 commit e6559fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registrar/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
# Sets clients that allow access control to manage.get.gov
# TODO: remove :8080 to see if we can have all localhost access
CORS_ALLOWED_ORIGINS = ["http://localhost:8080", "https://beta.get.gov"]

CORS_ALLOWED_ORIGIN_REGEXES = [r"https://[\w-]+\.sites\.pages\.cloud\.gov"]

# Content-Length header is set by django.middleware.common.CommonMiddleware

Expand Down

0 comments on commit e6559fb

Please sign in to comment.