o0th
o0th
CDCloudflare Developers
Created by ASK on 8/29/2023 in #workers-help
Custom domain should trigger worker path
I think you could specify a route in your wrangler.toml https://developers.cloudflare.com/workers/configuration/routing/routes/
5 replies
CDCloudflare Developers
Created by o0th on 7/19/2023 in #workers-help
waitUntil illigal invocation
Ok I don't know if I'm missing something, but this works
export default {
fetch: async (request, env, ctx) => {
ctx.waitUntil(Promise.resolve())
return new Response('hello')
}
}
export default {
fetch: async (request, env, ctx) => {
ctx.waitUntil(Promise.resolve())
return new Response('hello')
}
}
3 replies
CDCloudflare Developers
Created by o0th on 2/15/2023 in #workers-help
worker routes in wrangler.toml
But I don't understand why you need zone_name if you have zone_id to get the host, or maybe I'm missing something
9 replies
CDCloudflare Developers
Created by o0th on 2/15/2023 in #workers-help
worker routes in wrangler.toml
9 replies
CDCloudflare Developers
Created by o0th on 2/15/2023 in #workers-help
worker routes in wrangler.toml
Alright this make sense for the 3rd one which is invalid, but why the first two are different?
9 replies
CDCloudflare Developers
Created by o0th on 2/15/2023 in #workers-help
worker routes in wrangler.toml
All 3? Because in my test the first one works
9 replies