Fixes first-run setup for every deployment that does not terminate TLS in front of Mixarr.
Fixed
- Setup wizard and login failed over plain HTTP (#75): The session cookie was configured
secure: truewheneverNODE_ENV=production, which is baked into the unified image. express-session refuses to emit theSet-Cookieheader at all when the request is not HTTPS, soPOST /api/auth/setupcreated the admin and returned200while silently dropping the session — and the next request,POST /api/settings/base-url, saw an unauthenticated user and returned401 Authentication required. The cookie now uses express-session'ssecure: 'auto', which applies theSecureflag only when the connection actually is HTTPS. HTTPS deployments are unaffected and still get the flag. Also removes the login page's "HTTP Access Not Supported" block added in v1.2.1 for #30, which only explained the breakage on one of the two affected routes and would now reject a configuration that works.
Changed
- Corrected the documented HTTP port: the README instructed users to map
3010:3010andEXPOSEadvertised3010, but nothing in the unified image has ever listened on 3010 — Next.js is on3000, the API on3005, Caddy on80/443. 3010 is the API's own default port, overridden to 3005 by supervisor inside the image. Bothdocker runand compose examples now map3010:3000(matching whatdocker-compose.ymlalready did for the multi-container setup),EXPOSEadvertises3000, and the ports table separates host from container columns. The startup banner no longer prints host-side URLs it cannot know.
Full changelog: v2.3.4...v2.3.5