mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-05 10:16:41 +00:00
fix hostname in set cookie
This commit is contained in:
@@ -57,7 +57,7 @@ function parseSetCookieString(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!options.domain) {
|
if (!options.domain) {
|
||||||
const d = host ? host : new URL(env.app.dashboardUrl).hostname;
|
const d = host ? new URL(env.app.dashboardUrl).hostname : undefined;
|
||||||
if (d) {
|
if (d) {
|
||||||
options.domain = d;
|
options.domain = d;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user