mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-02 08:09:10 +00:00
fix hostname in set cookie
This commit is contained in:
@@ -57,7 +57,7 @@ function parseSetCookieString(
|
||||
}
|
||||
|
||||
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) {
|
||||
options.domain = d;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user