Skip to content

Commit 8d7ad07

Browse files
Update src/content/docs/workers/static-assets/index.mdx
Co-authored-by: windsurf-bot[bot] <189301087+windsurf-bot[bot]@users.noreply.github.com>
1 parent b7342a1 commit 8d7ad07

File tree

1 file changed

+6
-3
lines changed
  • src/content/docs/workers/static-assets

1 file changed

+6
-3
lines changed

src/content/docs/workers/static-assets/index.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,12 @@ If you want the Worker code to execute before serving assets, you can use the `r
122122
[assets]
123123
directory = "./dist"
124124
run_worker_first = [
125-
"/api/**", # API routes go to Worker first
126-
"/auth/**", # Auth routes go to Worker first
127-
"!/api/public/**" # Exception: public API docs served as assets
125+
# API routes go to Worker first
126+
"/api/**",
127+
# Auth routes go to Worker first
128+
"/auth/**",
129+
# Exception: public API docs served as assets
130+
"!/api/public/**"
128131
]
129132

130133
```

0 commit comments

Comments
 (0)