mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
* feat: add base path to front end - add docker build arg to set base path frontend is served under - set vite.config.ts base value based on docker build arg - update http variant request function to inject base path during calls to /api and /images - update how static assets are loaded from public folder to inject base path during vite build To use a base path build the docker image with --build-arg BASE_PATH=/hub/. All assets and api calls from the frontend will use that base path as prefix. The backend service is not using the base path, when using a proxy the base path has to be stripped. * chore: simplify base path usage and add extra documentation * chore: add extra documentation --------- Co-authored-by: 8de2fdb0 <89734465+8de2fdb0@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| caddy-subpath | ||
| keys | ||
| linux-aarch64 | ||
| linux-x86_64 | ||
| pi-aarch64 | ||
| pi-arm | ||
| verify.sh | ||