Skip to content

Commit a1de05b

Browse files
committed
set cloudflare not_found_handling to look for our custom 404 page
see docs https://docs.astro.build/en/guides/deploy/cloudflare/#404-behavior
1 parent 26b1cb4 commit a1de05b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wrangler.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"nodejs_compat"
1818
],
1919
"assets": {
20-
"directory": "dist"
20+
"directory": "dist",
21+
"not_found_handling": "404-page"
2122
},
2223
"env": {
2324
"beta": {

0 commit comments

Comments
 (0)