Removed demo origin override

This commit is contained in:
Mattias Gustavsson
2019-12-02 10:48:59 +01:00
parent f45897e3af
commit bbc88e1dfc

View File

@@ -65,7 +65,6 @@ export class AppBridge {
const currentWindow = remote.getCurrentWindow();
// @ts-ignore
this.origin = currentWindow.origin || '';
this.origin = '*';
if (ssInstance && typeof ssInstance.setBroadcastMessage === 'function') {
ssInstance.setBroadcastMessage(this.broadcastMessage);
}