Yigal
Yigal
CDCloudflare Developers
Created by Yigal on 4/7/2024 in #pages-help
is it possible to route a subdomain to a specific page on Pages?
3 replies
CDCloudflare Developers
Created by Yigal on 3/31/2024 in #workers-help
Get Content-Length
I have a worker that returns a string as text/plain, in local dev I get the response with content-length, but not on the deployed worker. why?
21 replies
CDCloudflare Developers
Created by Yigal on 12/31/2023 in #workers-help
Missing "Content-Length" from worker response
I'm setting a response with these headers: const corsHeaders = new Headers({ 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'GET, POST, OPTIONS', 'Access-Control-Allow-Headers': 'Authorization, Content-Type', 'Content-Type': 'application/json', }); But I get responses without "Content-Length". do I have to add it manually? is the existence of 'Content-Type': 'application/json' make it so the length isn't added?
2 replies
CDCloudflare Developers
Created by Yigal on 10/12/2023 in #workers-help
Worker routing refuse to work for one domain
I have worker setup with two routes to two domains. But one of the domains refuse to route, no matter what I do, the request goes straight to the DNS address, without being routed to the worker. I tried: Uproxying and proxying again all relates A records. Delete all other routes but the non-working one. Routing /test* only to each domain. I’ve compared all of the dashboard settings of the domains and I don’t see anything that is different. What do I miss? Why is one domain not routing to the worker?
14 replies
CDCloudflare Developers
Created by Yigal on 10/3/2023 in #workers-help
WebSocket get cancelled
Hello, I got the most basic websocket for the first time and the requests are made but gets canceled according to the log. What could be the reason?
1 replies
CDCloudflare Developers
Created by Yigal on 9/27/2023 in #general-help
What would be the build command for Tailwind in CF Pages?
Or should I build it before deployment?
1 replies
CDCloudflare Developers
Created by Yigal on 9/24/2023 in #workers-help
WebSocket limits
I'm trying to understand when I'll hit the Free plan limit using WebSocket. A blog post from two years ago, suggests that as long as a WebSocket is open, there is some billing occurring. But I couldn't figure out to which kind of usage to link this billing. From here: https://blog.cloudflare.com/introducing-websockets-in-workers/ "you’ll be billed wall-clock duration for the entire time the connection is open"
2 replies