-
feat: configurable UI base path via BASE_PATH build arg (#58)
ci/woodpecker/tag/docker Pipeline was successfulreleased this
2026-06-26 23:50:17 +10:00 Serves the UI under /ui instead of /. This pairs with the argocd route simplification (argocd-apps#201) where /ui → UI service and everything else → API.
- Vite:
baseset fromBASE_PATHenv var at build time - React Router:
basenameset from injected__BASE_PATH__ - Nginx: location block uses
${BASE_PATH}, substituted by sed at build - Dockerfile:
ARG BASE_PATH=/(default preserves existing behavior) - Woodpecker: passes
BASE_PATH=/uito docker-web build
Tested: assets serve at
/ui/assets/..., SPA routing works at/ui/remotes, etc.
Reviewed-on: #58
Co-authored-by: Ben Vincent ben@unkin.net
Co-committed-by: Ben Vincent ben@unkin.netDownloads
- Vite: