You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment I have the following rule in my nitro.config.ts:
routeRules: {
'/**': {
cors: true,
},
},
I want to only accept cors for my website-domain (prod and dev). How can I make options like cors origin in Nitro? Unfortunately the whole cors topic is not covered in the docs.
E.g. my domain is www.example.com and my api is at api.example.com -> Without cors: true this results in errors.
Describe the feature
At the moment I have the following rule in my nitro.config.ts:
I want to only accept cors for my website-domain (prod and dev). How can I make options like cors origin in Nitro? Unfortunately the whole cors topic is not covered in the docs.
E.g. my domain is www.example.com and my api is at api.example.com -> Without
cors: true
this results in errors.Reference
Additional information
The text was updated successfully, but these errors were encountered: