mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-12 12:04:21 +00:00
Adjust API
This commit is contained in:
parent
e8c3700ab9
commit
5aa41d9932
@ -1,2 +1,2 @@
|
||||
import { setupClient } from 'shared/enclave/client/preload';
|
||||
setupClient();
|
||||
import { registerProtocol } from 'shared/enclave/preload';
|
||||
registerProtocol();
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { webFrame } from 'electron';
|
||||
import { PROTOCOL_NAME } from 'shared/enclave/utils';
|
||||
|
||||
export function setupClient() {
|
||||
export function registerProtocol() {
|
||||
// Whitelist custom protocol
|
||||
webFrame.registerURLSchemeAsPrivileged(PROTOCOL_NAME);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user