Regenerate favicons on labeling save; sniff real logo type

FixSecurityService
Shipped
June 8, 2026 at 4:57 AM UTC
Author
Kamo
Commit
3264e02

provisionUpdate (run on every custom-labeling save) wrote config/css/manifest but never regenerated favicons — those were only produced by provisionFull. An org seeded without a full provision had an empty favicon/ set, so every Kamo site (login/internal/register) rendered no favicon. Regenerate favicons in provisionUpdate (best-effort, so it never blocks the colour/config write). Also stop hardcoding image/svg+xml when calling the favicon endpoint: the simple logo is stored as logo.svg regardless of real format, so a raster logo (e.g. sign.pink's PNG) made the SVG transcoder fail. Sniff the bytes and pass the actual content type so ImageIO rasterises raster logos.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing