fix(deploy): add --root-path /gomag to start.bat for IIS reverse proxy

IIS proxies /gomag/* to localhost:5003, so uvicorn needs --root-path /gomag
to serve static files and routes correctly under the prefix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-04-01 14:06:33 +00:00
parent 19f6b496dd
commit cfcae03682

View File

@@ -6,4 +6,4 @@ set TNS_ADMIN=C:\roa\instantclient_11_2_0_2
set PATH=C:\app\Server\product\18.0.0\dbhomeXE\bin;%PATH% set PATH=C:\app\Server\product\18.0.0\dbhomeXE\bin;%PATH%
cd api cd api
"%~dp0venv\Scripts\python.exe" -m uvicorn app.main:app --host 0.0.0.0 --port 5003 "%~dp0venv\Scripts\python.exe" -m uvicorn app.main:app --host 0.0.0.0 --port 5003 --root-path /gomag