Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

Add CORS headers #635

Open
RyanHow opened this issue Mar 23, 2018 · 3 comments
Open

Add CORS headers #635

RyanHow opened this issue Mar 23, 2018 · 3 comments

Comments

@RyanHow
Copy link

RyanHow commented Mar 23, 2018

Add CORS headers to allow AJAX calls from other origins to functions.

@RyanHow
Copy link
Author

RyanHow commented Mar 23, 2018

I'm working on this and will send a PR

@RyanHow
Copy link
Author

RyanHow commented Mar 25, 2018

Please see PR #638

@JhonatanHern
Copy link

It would be great to have an option in the dna.json that allows that, something like:

{
   "allowedOrigins" : [
      "localhost:3000"
   ]
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants