Replies: 1 comment 1 reply
-
|
There's no single place to do it once for resource routes, you would have to add cors to the HTTP server itself, in that case you can use the CORS helpers for your HTTP server. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have several resource routes with the prefix
/api, which are called by both my Remix app and a browser extension. Now I want to fix CORS requests for the browser extension.However, the
corsfunction doesn't work with it, after some debugging, I found that thehandleRequestfunction isn't even called when accessing these resource routes.Beta Was this translation helpful? Give feedback.
All reactions