diff --git a/.env.example b/.env.example index 7e1d124c7..49ceda5eb 100755 --- a/.env.example +++ b/.env.example @@ -25,6 +25,11 @@ VITE_PORT=5173 # Use 127.0.0.1 to restrict to localhost only HOST=0.0.0.0 +# Base path prefix for all routes and assets (default: /) +# Useful when serving behind a reverse proxy at a sub-path. +# Requires a frontend rebuild (npm run build) after changing. +# BASE_PATH=/cloudcli + # Uncomment the following line if you have a custom claude cli path other than the default "claude" # CLAUDE_CLI_PATH=claude diff --git a/index.html b/index.html index c476f13e4..43429bc0e 100644 --- a/index.html +++ b/index.html @@ -29,16 +29,20 @@
- +