12

CORS. How the fuck could it be so hard to get right?

Comments
  • 3
    What's so hard? Anything Cross-origin is denied by default. You only build exceptions to this rule
  • 0
    @netikras and that's great, I agree. I'm just not familiar with it and setting it up properly in AWS Api Gateway is a mess
  • 0
    install helmet? if your using node at least.
  • 0
    @M1sf3t trying out golang for this project
  • 0
    Isn't it just about send one more request and setting up a couple of headers?
  • 0
    @dmonkey in theory it should be that easy, yes, but to get it working with AWS Api Gateway and Lambda there was a few more hoops. Got it working though!
Add Comment