fix(app-proxy): serve instance branding before boot (#3396)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-11 15:54:40 +02:00
1 parent 3694300d86
commit 20e3474393
11 files changed
+895 -107

No files matched your search

@@ -1236,6 +1236,8 @@ Compose forwards every name below from `.env`. The admin dashboard also sets the
A brand asset on another origin than the instance needs no CSP setting. `app-proxy` adds the origin of each of the five image URLs below to `img-src`, whether the URL is set here or in the dashboard. [Content Security Policy](#content-security-policy) has the timing.
`app-proxy` on a self-hosted instance also writes the product name, the icon, the favicon and the theme colour into the page it serves, so a browser shows them before the web app starts. The page title and the home screen name use the product name. The home screen icon uses the icon, or the favicon when no icon is set. The browser favicon and the `/favicon.ico` redirect use the favicon, or the icon when no favicon is set. The install manifest at `/manifest.json` takes the product name, the theme colour and the icon, and leaves out the Fluxer description. `/browserconfig.xml`, the Fluxer tile for legacy Edge, returns 404. `app-proxy` takes these values the same way as the image origins, from this environment at start and then from the dashboard.
#### `FLUXER_APP_PRODUCT_NAME`
Default `Fluxer`. The product name clients display and the API writes in its emails and report flows. Also settable in the admin dashboard, which wins. Compose forwards it from `.env`.