修改端口2333
This commit is contained in:
4
run.bat
4
run.bat
@@ -44,13 +44,14 @@ if errorlevel 1 (
|
||||
|
||||
echo.
|
||||
echo [INFO] Starting production preview server...
|
||||
echo [INFO] Server will be available at: http://localhost:3000
|
||||
echo [INFO] Server will be available at: http://localhost:2333
|
||||
echo [INFO] Press Ctrl+C to stop the server
|
||||
echo.
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
REM Start the production server
|
||||
set PORT=2333
|
||||
call pnpm start
|
||||
|
||||
REM If server exits, pause to show any errors
|
||||
@@ -59,4 +60,3 @@ if errorlevel 1 (
|
||||
echo [ERROR] Production server exited with errors.
|
||||
pause
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user