forked from baron/baron-sso
runtime host 0.0.0.0 수정
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user