Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -590,9 +590,12 @@ export class _StackClientAppImplIncomplete<HasTokenStore extends boolean, Projec
hostname = window.location.hostname;
}
// IF_PLATFORM next
hostname = (await sc.headers?.())?.get("host");
else {
hostname = (await sc.headers?.())?.get("host");
}
// END_PLATFORM
if (!hostname) {
console.warn("No hostname found when queueing custom refresh cookie update");
return;
}
const domain = await this._trustedParentDomainCache.getOrWait([hostname], "read-write");
Expand Down