yinks
Explore posts from serversCDCloudflare Developers
•Created by yinks on 8/19/2024 in #workers-help
No loader is configured for ".node" files
My worker uses
email-reply-parser
https://github.com/crisp-oss/email-reply-parser which internally uses re2
and it's causing a deployment error because re2
imports a .node
file3 replies
CDCloudflare Developers
•Created by yinks on 7/25/2024 in #workers-help
Is there a way to specify the wrangler file directory?
I'm trying to deploy a static react app to cloudflare pages in a monorepo, everything works but it can't find the wrangler file because it's in a child directory, not the monorepo root.
11 replies
CDCloudflare Developers
•Created by yinks on 9/13/2023 in #workers-help
Correct way to set CORS in Cloudflare Workers
I've been trying to set CORS headers following the docs but it doesn't seem to be working for me.
Error:
Access to fetch at 'http://127.0.0.1:8787/trpc/example.hello?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22text%22%3A%22Yinka%22%7D%7D%7D' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
3 replies