From 02d2aeac3e33080dcf7bc9525edab960ff657a53 Mon Sep 17 00:00:00 2001 From: LoveJesus Date: Tue, 13 Jan 2026 05:03:48 +0000 Subject: [PATCH] Fix routes.exclude for Workers for Platforms compatibility --- svelte.config.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index a986923..38afc48 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -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 \ No newline at end of file +// JESUS CHRIST IS LORD