mirror of
https://github.com/caprover/caprover.git
synced 2026-12-04 16:48:17 +00:00
Add an optional redirectDomainStatusCode (301 or 302) to the app definition. The default server block template returns it instead of a hard-coded 302. Apps without the field keep redirecting with 302. Clients that do not send the field, such as the current caprover-api updateConfigAndSave, keep the stored value instead of resetting it. Refs #1857