Fix routes.exclude for Workers for Platforms compatibility
Some checks failed
Deploy Site / deploy-chirho (push) Failing after 5s
Some checks failed
Deploy Site / deploy-chirho (push) Failing after 5s
This commit is contained in:
@@ -8,13 +8,14 @@ const config = {
|
|||||||
preprocess: vitePreprocess(),
|
preprocess: vitePreprocess(),
|
||||||
kit: {
|
kit: {
|
||||||
adapter: adapter({
|
adapter: adapter({
|
||||||
// Remove routes.exclude so the worker handles all routes
|
routes: {
|
||||||
// This is required for Workers for Platforms dispatch namespaces
|
include: ['/*'],
|
||||||
// where static assets are not automatically served
|
exclude: [] // Don't exclude any routes - required for Workers for Platforms
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
||||||
// JESUS CHRIST IS LORD
|
// JESUS CHRIST IS LORD
|
||||||
|
|||||||
Reference in New Issue
Block a user