Fix: Mapping Vite ports based on .env value

This commit is contained in:
2026-08-26 17:59:13 +03:00
parent 092fab8740
commit 50c9670f2a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export default defineConfig({
],
server: {
host: "0.0.0.0",
port: 5174,
port: process.env.VITE_PORT || 5174,
strictPort: true,
cors: true,
hmr: {