1 Commits
Author SHA1 Message Date
Han Ming 7628860532 Allow 301 for "Redirect all domains to" (#2562)
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
2026-11-28 08:27:48 -08:00