diff --git a/vite.config.js b/vite.config.js
index 4557e9bde20f06d513010adb00c00f95936caa22..3200d5d951ba724e16090584933fcc7c10eb0571 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -12,7 +12,7 @@ module.exports = defineConfig({
     server: {
         fs: {
             // Allow serving files from hydrogen-web/target (for fonts and images)
-            allow: ["../hydrogen-web/target"],
+            allow: ["../hydrogen-web/target", "."],
         },
     },
 });