Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -18,12 +18,23 @@ export const ANREDE_PARAM = "anrede";
* "du"/"sie") and validated with `isAnrede`, so a tampered value degrades to the
* default rather than selecting an unexpected language.
*/
export const anredeCookie = createCookie("_anrede", {
...resolveSessionCookiePolicy({
nodeEnv: webConfig.nodeEnv,
routing: webConfig.routing,
maxAge: 60 * 60 * 24 * 365,
}),
const isPortalRuntime = webConfig.runtimeSurface === "portal";
export const anredeCookie = createCookie(isPortalRuntime ? "__Host-hivegrid_portal_anrede" : "_anrede", {
...(isPortalRuntime
? {
httpOnly: true,
path: "/",
sameSite: "lax" as const,
secure: true,
maxAge: 60 * 60 * 24 * 365,
}
: resolveSessionCookiePolicy({
nodeEnv: webConfig.nodeEnv,
routing: webConfig.routing,
maxAge: 60 * 60 * 24 * 365,
})),
...(isPortalRuntime && webConfig.portalSessionSecret ? { secrets: [webConfig.portalSessionSecret] } : {}),
});
/**