Skip to content

Commit

Permalink
Merge pull request #981 from fecgov/patch/cors-regex-patch
Browse files Browse the repository at this point in the history
Patch - Update CORS allowed regex
  • Loading branch information
mjtravers authored Jul 22, 2024
2 parents 8a93a6d + 5914161 commit 143ae95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-backend/fecfiler/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
},
]

CORS_ALLOWED_ORIGIN_REGEXES = [r"^https://(.*?).fecfile\.fec\.gov$"]
CORS_ALLOWED_ORIGIN_REGEXES = [r"https://(.*?)fecfile\.fec\.gov$"]

CORS_ALLOW_HEADERS = (
*default_headers,
Expand Down

0 comments on commit 143ae95

Please sign in to comment.