Skip to content

Commit 68925b6

Browse files
add single-page-application not_found_handling configuration
1 parent c513178 commit 68925b6

File tree

1 file changed

+5
-1
lines changed
  • packages/wrangler/src/autoconfig/frameworks

1 file changed

+5
-1
lines changed

packages/wrangler/src/autoconfig/frameworks/vite.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ export class Vite extends Framework {
2727
}
2828

2929
return {
30-
wranglerConfig: {},
30+
wranglerConfig: {
31+
assets: {
32+
not_found_handling: "single-page-application",
33+
},
34+
},
3135
};
3236
}
3337
}

0 commit comments

Comments
 (0)