Cloudflare workers #349
Replies: 2 comments 1 reply
-
my wrangler.toml file is below name = "central-files" [site] [build] |
Beta Was this translation helpful? Give feedback.
-
Make sure you're using wrangler v1 Uninstall wrangler v2 => then
You won't have to change anything for your configuration EDITAfter I replied, I actually read up in how to use wrangler v2 and it's actually possible but with minor tweaks to your wrangler.toml See docs name = "<my worker name>"
compatibility_date = "2022-08-04"
main = ".output/server/index.mjs"
routes = [{ pattern = "<my custom domain here>", custom_domain = true }]
[site]
bucket = ".output/public" And running |
Beta Was this translation helpful? Give feedback.
-
Hi Guys,
I am following the instructions as per
https://nitro.unjs.io/deploy/providers/cloudflare.html
However, I am getting the error below
Not sure what I am doing wrong
Any help would be appreciated
Cheers,
Alex
Beta Was this translation helpful? Give feedback.
All reactions