The wildcard that is available currently is a bit too global.
For example we want to match:
/store/{slug}
But we don’t want to match a level deeper:
/store/{slug}/listings
So the wildcard store/* doesn’t work for us.
We have tried to add the routes we need to a wrangler.toml and upload it using wrangler publish
but after about 45 minutes of uploading we receive the response:
✘ [ERROR] fetch failed
We are trying to upload 17.500 routes to our worker. Is that perhaps too much?
The docs don’t describe a max number of routes.