Fenix
Fenix14mo ago

cors

Hi! Some problems with cors maybe you can help,
readingbee.se/:1 Access to fetch at 'https://server-z4fnqa7szq-oa.a.run.app/api/trpc/mySignIn' from origin 'https://readingbee.se' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
readingbee.se/:1 Access to fetch at 'https://server-z4fnqa7szq-oa.a.run.app/api/trpc/mySignIn' from origin 'https://readingbee.se' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
https://server-z4fnqa7szq-oa.a.run.app/api/trpc/mySignIn is a trpc callback that seems to work (https://cors-test.codehappy.dev/?url=https%3A%2F%2Fserver-z4fnqa7szq-oa.a.run.app%2Fapi%2Ftrpc%2FmySignIn+&origin=https%3A%2F%2Fcors-test.codehappy.dev%2F&method=get) But the client gives me Cors errors. (I am using nuxt and as you may gather from the url its on firebase)
0 Replies
No replies yetBe the first to reply to this messageJoin