doc: add language to mention disruptive nature of cookie host prefix (#22384)

This commit is contained in:
Steven Masley
2026-02-27 15:59:01 +00:00
committed by GitHub
parent 0bafc05c37
commit 21bc185254
5 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -2912,7 +2912,7 @@ func (c *DeploymentValues) Options() serpent.OptionSet {
},
{
Name: "__Host Prefix Cookies",
Description: "Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain.",
Description: "Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain. This change is disruptive to any workspaces built before release 1.31, requiring a workspace restart.",
Flag: "host-prefix-cookie",
Env: "CODER_HOST_PREFIX_COOKIE",
Value: serpent.BoolOf(&c.HTTPCookies.EnableHostPrefix),