Wonky Onion
CDCloudflare Developers
•Created by Amos on 10/14/2024 in #wrangler
I don't think it was the blog one, but
if you change the wrangler.toml to have main = "./dist/_worker.js/index.js` it should work now
1 replies
CDCloudflare Developers
•Created by stridex on 9/27/2024 in #workers-discussions
adding assets to workers is sick and i'
glad you're liking workers assets though :D
3 replies
CDCloudflare Developers
•Created by stridex on 9/27/2024 in #workers-discussions
adding assets to workers is sick and i'
yup, you have to use the ASSETS binding to access
not_found_handling
behaviour from your worker (exactly like you've done) - there's a snippet here in the docs that shows it: https://developers.cloudflare.com/workers/static-assets/binding/#runtime-api-reference
We should probably add it to the not_found_handling
section too...3 replies