We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887eef0 commit 379754dCopy full SHA for 379754d
src/content/docs/workers/static-assets/binding.mdx
@@ -75,8 +75,10 @@ main = "src/index.ts"
75
[assets]
76
directory = "./public/"
77
binding = "ASSETS"
78
- "/api/**", # API calls go to Worker first
79
- "!/api/docs/**" # EXCEPTION: For /api/docs/**, try static assets first
+run_worker_first = [
+ "/api/*", # API calls go to Worker first
80
+ "!/api/docs/*" # EXCEPTION: For /api/docs/*, try static assets first
81
+ ]
82
```
83
84
</WranglerConfig>
0 commit comments