diff --git a/.env.development b/.env.development index 3f6b173..2bf124d 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -VITE_API_BASE_URL=https://bk.swalktech.top/api/v1 +VITE_API_BASE_URL=/api/v1 diff --git a/vite.config.ts b/vite.config.ts index 1b99a13..12f840b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,5 +16,9 @@ export default defineConfig({ }, server: { port: 2613, + host: true, // Listen on all addresses + watch: { + usePolling: true, // Necessary for Docker on Windows + }, }, });