Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't whitelist CORS-blocked domains in dev #848

Merged
merged 1 commit into from
Feb 7, 2019
Merged

Don't whitelist CORS-blocked domains in dev #848

merged 1 commit into from
Feb 7, 2019

Conversation

mqp
Copy link
Contributor

@mqp mqp commented Jan 23, 2019

For example, without this change, you can't paste any media or models from production Hubs.

The Jenkins job to build production already overrides this to have hubs.mozilla.com,reticulum.io so changing it here only affects local work.

(By the way, this works because this environment variable is strange -- it's not actually a list of domains, it's a list of suffixes. Any domain that ends in one of these suffixes will be whitelisted. So dev.reticulum.io matches things like uploads-dev.reticulum.io. We should fix this at some point.)

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