diff --git a/src/AeSdkWallet.ts b/src/AeSdkWallet.ts index d88a9c402e..b51c95e00d 100644 --- a/src/AeSdkWallet.ts +++ b/src/AeSdkWallet.ts @@ -358,11 +358,12 @@ export default class AeSdkWallet extends AeSdk { * @returns Object with wallet information */ async getWalletInfo(): Promise { + const { origin } = window.location; return { id: this.id, name: this.name, networkId: await this.api.getNetworkId(), - origin: window.location.origin, + origin: origin === 'file://' ? '*' : origin, type: this._type, }; }