BinarMorker / TimeWastedOnDestiny

http://wastedondestiny.com
GNU General Public License v3.0
23 stars 3 forks source link

CORS headers for the API #34

Closed remybach closed 7 years ago

remybach commented 7 years ago

Hey there,

I'm trying to use the API within a simple single page app which means making the API call from the front end. I was wondering whether - since it's a public API - you could make it return CORS headers?

Thanks for providing an API by the way! Not enough devs are willing to do this these days 👍

BinarMorker commented 7 years ago

Yeah no problem, I'll see if I can add CORS. I'll keep you updated when it's done.

Thank you for being interested in my API!

On Wed, Apr 5, 2017 at 4:36 AM, Rémy Bach notifications@github.com wrote:

Hey there,

I'm trying to use the API within a simple single page app which means making the API call from the front end. I was wondering whether - since it's a public API - you could make it return CORS headers?

Thanks for providing an API by the way! Not enough devs are willing to do this these days 👍

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BinarMorker/TimeWastedOnDestiny/issues/34, or mute the thread https://github.com/notifications/unsubscribe-auth/AFh1qoNFR5eb9G9sWRg90DMwAO4Q19n4ks5rs1KYgaJpZM4Mz65s .

remybach commented 7 years ago

Solved with #35.