Skip to content

Adds cors exception for localhost #11

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

drewmiley
Copy link
Contributor

In initial development of professional facing application, I had to modify CORS behaviour to allow access to middleware-services consumer API.

This is the code I added to allow access to this for that application.

I was going to wrap this within a DEV_MODE env variable if this sounds like a reasonable assumption/solution to unblock further work on this application quickly?

@drewmiley drewmiley requested a review from jawrainey November 18, 2020 15:13
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