fix: set cookie domain to .pingql.com so it works on both subdomains
This commit is contained in:
parent
ef56b47b09
commit
0597c7f6e7
|
|
@ -61,6 +61,7 @@ const COOKIE_OPTS = {
|
||||||
secure: true,
|
secure: true,
|
||||||
sameSite: "lax" as const,
|
sameSite: "lax" as const,
|
||||||
path: "/",
|
path: "/",
|
||||||
|
domain: ".pingql.com", // share across pingql.com and api.pingql.com
|
||||||
maxAge: 60 * 60 * 24 * 365, // 1 year
|
maxAge: 60 * 60 * 24 * 365, // 1 year
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue