Remove routes.exclude for Workers for Platforms compatibility
Some checks failed
Deploy Site / deploy-chirho (push) Failing after 10s

This commit is contained in:
2026-01-13 04:47:44 +00:00
parent 9d13d74157
commit 35032fa988

View File

@@ -8,10 +8,9 @@ const config = {
preprocess: vitePreprocess(), preprocess: vitePreprocess(),
kit: { kit: {
adapter: adapter({ adapter: adapter({
routes: { // Remove routes.exclude so the worker handles all routes
include: ['/*'], // This is required for Workers for Platforms dispatch namespaces
exclude: ['<all>'] // where static assets are not automatically served
}
}) })
} }
}; };