Fix: Mapping Vite ports based on .env value
This commit is contained in:
1 parent
092fab8740
commit
50c9670f2a
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user