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(),
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
// Remove routes.exclude so the worker handles all routes
|
||||
// This is required for Workers for Platforms dispatch namespaces
|
||||
// where static assets are not automatically served
|
||||
routes: {
|
||||
include: ['/*'],
|
||||
exclude: [] // Don't exclude any routes - required for Workers for Platforms
|
||||
}
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
||||
// JESUS CHRIST IS LORD
|
||||
// JESUS CHRIST IS LORD
|
||||
|
||||
Reference in New Issue
Block a user