Skip to content

Commit 099576b

Browse files
amnirNir
authored andcommitted
fix(devcontainer): Make config-ui dev server accessible outside the container
when started by listening on 0.0.0.0 with the `--host` flag. Also ensure it uses port 4000 or fails to start with `--strictPort` to prevent silent port change that will mismatch with the exported dev container port.
1 parent cfe519c commit 099576b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.0",
55
"packageManager": "[email protected]",
66
"scripts": {
7-
"start": "vite",
7+
"start": "vite --host --strictPort",
88
"build": "vite build",
99
"preview": "vite preview",
1010
"lint": "tsc && eslint . --fix",

0 commit comments

Comments
 (0)