runtime host 0.0.0.0 수정

This commit is contained in:
kyy
2026-04-10 10:57:38 +09:00
parent 74063494a1
commit 969d32eaca
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ fi
if [ "$mode" = "production" ]; then if [ "$mode" = "production" ]; then
echo "Running in production mode with Vite preview..." 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 fi
echo "Running in development mode..." echo "Running in development mode..."
exec npm run dev -- --host 127.0.0.1 exec npm run dev -- --host 0.0.0.0
+2 -2
View File
@@ -19,8 +19,8 @@ fi
if [ "$mode" = "production" ]; then if [ "$mode" = "production" ]; then
echo "Running in production mode with Vite preview..." 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 fi
echo "Running in development mode..." echo "Running in development mode..."
exec npm run dev -- --host 127.0.0.1 exec npm run dev -- --host 0.0.0.0