© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•14mo ago•
3 replies
Coshmar Tabletowy V

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?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Use wildcard domain with worker (assets)
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
14mo ago
Wildcard DNS with workers on a custom domain
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
bundling static assets
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
9mo ago
worker static assets
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
14mo ago