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
-
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
cors
function doesn't work with it, after some debugging, I found that thehandleRequest
function isn't even called when accessing these resource routes.Beta Was this translation helpful? Give feedback.
All reactions