fix domain slipping
This commit is contained in:
parent
2cbd2e1ef3
commit
9fbeda42b8
|
@ -15,6 +15,8 @@
|
|||
let hostname = url.hostname
|
||||
let parts = hostname.split(".")
|
||||
let tenantId = parts[0]
|
||||
let domain = parts.slice(-2).join(".")
|
||||
console.log(domain)
|
||||
CookieUtils.setCookie("tenantId", tenantId, domain)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue