1
0
forked from baron/baron-sso

runtime host 0.0.0.0 수정

This commit is contained in:
2026-04-10 10:56:21 +09:00
parent 74063494a1
commit 969d32eaca
2 changed files with 4 additions and 4 deletions

View File

@@ -19,8 +19,8 @@ fi
if [ "$mode" = "production" ]; then
echo "Running in production mode with Vite preview..."
exec sh -c "npm run build && npm run preview -- --host 127.0.0.1"
exec sh -c "npm run build && npm run preview -- --host 0.0.0.0"
fi
echo "Running in development mode..."
exec npm run dev -- --host 127.0.0.1
exec npm run dev -- --host 0.0.0.0

View File

@@ -19,8 +19,8 @@ fi
if [ "$mode" = "production" ]; then
echo "Running in production mode with Vite preview..."
exec sh -c "npm run build && npm run preview -- --host 127.0.0.1"
exec sh -c "npm run build && npm run preview -- --host 0.0.0.0"
fi
echo "Running in development mode..."
exec npm run dev -- --host 127.0.0.1
exec npm run dev -- --host 0.0.0.0