diff --git a/.env.development b/.env.development index 66db44e..494acd4 100644 --- a/.env.development +++ b/.env.development @@ -1 +1,2 @@ -VITE_BASE_URL = 'http://localhost:5157' \ No newline at end of file +VITE_BASE_URL = 'http://localhost:5157' +PORT = 5158 \ No newline at end of file diff --git a/.env.production b/.env.production index 2835021..423817f 100644 --- a/.env.production +++ b/.env.production @@ -1 +1,2 @@ -VITE_BASE_URL = 'http://192.168.123.199:5157' \ No newline at end of file +VITE_BASE_URL = 'http://192.168.123.199:5157' +PORT = 5158 \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 21d97d5..2acf118 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,5 +12,9 @@ export default defineConfig({ alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } + }, + server: { + host: '0.0.0.0', + port: 5158 } })