#disable cors for some api endpoints
1 messages · Page 1 of 1 (latest)
api folder in pages.
Is the api handler wrapped with the api exported by blitz-client?
If you are not using blitz auth then you can use it without the wrapper and I don't think the crsf mismatch error should occur.
Unless you want to disable it for some other reason?
yes, wrapped with api() but same