question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CORS.toHttpRoutes and CORS.toHttpApp are unconfigurable

See original GitHub issue

Both of them should take a CORSConfig parameter. We should deprecate the versions that don’t, starting in 0.22.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
san-codingcommented, Aug 26, 2021

Okay, thanks for the advice Ross , will keep in mind next time, I will make those changes and submit the PR

0reactions
san-codingcommented, Aug 26, 2021

When will the PR get reviewed ? will you be reviewing it @rossabaker ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring CORS for an HTTP API - Amazon API Gateway
To support unauthorized OPTIONS requests, add an OPTIONS /{proxy+} route to your API that doesn't require authorization and attach an integration to the...
Read more >
How to handle CORS | CORS - Amazon HTTP API p9 - YouTube
Welcome to part 9 of the new tutorial series on Amazon HTTP API. In this video, we will cover how to handle CORS...
Read more >
How do I resolve a CORS error for my API Gateway REST API?
We appreciate your feedback: https://amazonintna.qualtrics.com/jfe/form/SV_a5xC6bFzTcMv35sSkip directly to the demo: 0:40For more details ...
Read more >
API Gateway HTTP + Lambda integration not enabling CORS
I have an API Gateway with an HTTP API + route that utilizes a Lambda function integration. From the AWS documentation, I see...
Read more >
API Gateway HTTP API CORS - Stack Overflow
For anyone using HTTP API and the proxy route ANY /{proxy+}. You will need to explicitly define your route methods in order for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found