We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9d2711 commit 8b51448Copy full SHA for 8b51448
packages/adapter-cloudflare/index.js
@@ -73,7 +73,9 @@ function get_routes_json(builder, assets) {
73
*/
74
const exclude = [
75
`/${builder.config.kit.appDir}/*`,
76
- ...assets.filter((file) => !file.startsWith(`${builder.config.kit.appDir}/`))
+ ...assets
77
+ .filter((file) => !file.startsWith(`${builder.config.kit.appDir}/`))
78
+ .map((file) => `/${file}`)
79
];
80
81
const MAX_EXCLUSIONS = 99; // 100 minus existing `include` rules
0 commit comments