diff --git a/ui/admin/app/services/session.js b/ui/admin/app/services/session.js index 5761b6019..183c36eac 100644 --- a/ui/admin/app/services/session.js +++ b/ui/admin/app/services/session.js @@ -14,7 +14,7 @@ export default class SessionService extends BaseSessionService { super.handleAuthentication(...arguments); const userId = this.data?.authenticated?.user_id; - const hostUrl = this.window.host; + const hostUrl = this.window.location.host; if (userId && hostUrl) { this.indexedDb.setup(formatDbName(userId, hostUrl)); }