claudiajs / example-projects

Simple example projects that show how to use ClaudiaJs
650 stars 235 forks source link

are the cors overrides working? #30

Closed nickmeldrum closed 5 years ago

nickmeldrum commented 5 years ago

Use the Claudia.js Gitter Chat instead to ask a general question or request assistance/support.

Please use GitHub issues only to report bugs with example projects. To report a bug or a problem, please fill in the sections below. The more you provide, the better we'll be able to help.


nickmeldrum commented 5 years ago

worked out what I was doing wrong: the apis.corsOrigin() method call has to be in the root of the module, NOT in the api.post('', ...) method callback as I was doing!