Static Assets on zone with domain wildcard

Hi all, When I try to deploy my worker, I have an error:
Workers which have static assets cannot be routed on a URL which has a path component. Update the route to replace //<domain>/* with /*
My use case is - I want to have a worker, bound to a single domain, where in some scenarios I want to serve static site. Does it mean that Static Assets is a no-go in this scenario?
2 Replies
Walshy
Walshy5w ago
Update wrangler We removed that limitation recently 🙂
CoshmarBlondasekZDużymMieczem
Thanks, I confirm updating the dependency resolved the problem 🙂

Did you find this page helpful?