Skip to content

Commit 122c2c2

Browse files
korinneWalshyDev
andauthored
Update src/content/docs/workers/static-assets/index.mdx
Co-authored-by: Daniel Walsh <[email protected]>
1 parent acf2961 commit 122c2c2

File tree

1 file changed

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

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,19 @@ This approach ensures that static files like `index.html`, JavaScript bundles, s
102102
You can control how assets are served, how unmatched routes are handled, as
103103
well as override routing behavior in your Wrangler configuration file.
104104

105-
For example, if you have a Single Page Application and want to fallback to
106-
`index.html` for unmatched routes, you can define this in your [Wrangler configuration](/workers/static-assets/routing/#alternate-configuration-options):
105+
For example, if you have a Single Page Application and want to fallback to
106+
`index.html` for unmatched routes, you can define this in your [Wrangler configuration](/workers/static-assets/routing/#alternate-configuration-options):
107107

108-
<WranglerConfig>
109-
```toml
110-
name = "my-static-site"
111-
compatibility_date = "2025-01-01"
112-
[assets]
113-
directory = "./dist"
114-
not_found_handling = "single-page-application"
108+
<WranglerConfig>
109+
```toml
110+
name = "my-static-site"
111+
compatibility_date = "2025-01-01"
115112

116-
```
117-
</WranglerConfig>
113+
[assets]
114+
directory = "./dist"
115+
not_found_handling = "single-page-application"
116+
```
117+
</WranglerConfig>
118118

119119
</Aside>
120120

0 commit comments

Comments
 (0)