Skip to content

feat: enable CORS for gnps2.org and its subdomains - #225

Merged
mwang87 merged 1 commit into
devfrom
feat/cors-gnps2
Aug 18, 2026
Merged

feat: enable CORS for gnps2.org and its subdomains#225
mwang87 merged 1 commit into
devfrom
feat/cors-gnps2

Conversation

@mwang87

@mwang87 mwang87 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Add Flask-Cors and allow cross-origin requests from gnps2.org and any *.gnps2.org subdomain (http/https). Origin regex is end-anchored to avoid matching lookalike domains like gnps2.org.evil.com.

Add Flask-Cors and allow cross-origin requests from gnps2.org and any *.gnps2.org subdomain (http/https). Origin regex is end-anchored to avoid matching lookalike domains like gnps2.org.evil.com.
@mwang87
mwang87 merged commit 45fcfde into dev Aug 18, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant