From cfcae0368271ca0c193fbf51c5d300cc671ee66c Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Wed, 1 Apr 2026 14:06:33 +0000 Subject: [PATCH] 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) --- start.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.bat b/start.bat index abe3c34..1f51785 100644 --- a/start.bat +++ b/start.bat @@ -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% 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