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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user