Skip to content

Commit 3aefe38

Browse files
authored
Update src/content/docs/workers/static-assets/index.mdx
1 parent 879227c commit 3aefe38

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ Replace the file contents of our Wrangler configuration with the following:
232232

233233
We have edited the Wrangler file in the following ways:
234234

235-
- We've added `main = "src/api/index.js"` to tell Cloudflare where to find our Worker code.
236-
- We've added an `ASSETS` binding, which our Worker code can use to fetch and serve assets.
237-
- We've enabled routing for Single Page Applications, which ensures that unmatched routes (such as `/dashboard`) serve our `index.html`.
235+
- Added `main = "src/api/index.js"` to tell Cloudflare where to find our Worker code.
236+
- Added an `ASSETS` binding, which our Worker code can use to fetch and serve assets.
237+
- Enabled routing for Single Page Applications, which ensures that unmatched routes (such as `/dashboard`) serve our `index.html`.
238238

239239
:::note
240240

0 commit comments

Comments
 (0)