alby-hub/scripts
Roland 51ce7c64a0
Feat: allow hosting alby hub on subpath (#1439)
* 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>
2025-06-26 16:23:40 +05:30
..
caddy-subpath Feat: allow hosting alby hub on subpath (#1439) 2025-06-26 16:23:40 +05:30
keys chore: add new gpg key for rolznz 2025-01-07 23:09:49 +07:00
linux-aarch64 feat: verify package signatures (#1220) 2025-04-15 23:54:58 +07:00
linux-x86_64 feat: verify package signatures (#1220) 2025-04-15 23:54:58 +07:00
pi-aarch64 Updated guide URLs (#1351) 2025-06-03 13:15:22 +07:00
pi-arm Update README.md (#1352) 2025-06-03 13:17:39 +07:00
verify.sh feat: verify package signatures (#1220) 2025-04-15 23:54:58 +07:00