fix(sdk,client): use origin as postmessage target
All checks were successful
arcad/edge/pipeline/head This commit looks good
All checks were successful
arcad/edge/pipeline/head This commit looks good
This commit is contained in:
@ -172,7 +172,8 @@ export class Client extends EventTarget {
|
||||
}
|
||||
|
||||
const token = this._getAuthCookieToken();
|
||||
evt.source.postMessage({ type: EdgeAuthTokenResponse, data: { token }});
|
||||
// @ts-ignore
|
||||
evt.source.postMessage({ type: EdgeAuthTokenResponse, data: { token }}, evt.origin);
|
||||
}
|
||||
|
||||
_onConnectionMessage(evt) {
|
||||
|
Reference in New Issue
Block a user