Remove routes.exclude for Workers for Platforms compatibility
Some checks failed
Deploy Site / deploy-chirho (push) Failing after 10s
Some checks failed
Deploy Site / deploy-chirho (push) Failing after 10s
This commit is contained in:
@@ -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
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user