mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
use attachBridge
This commit is contained in:
parent
98e3edabcb
commit
0df0a1a76c
@ -437,7 +437,7 @@ class App extends React.Component {
|
|||||||
const storedRemotes = await app.settings.get("remotes") ?? {}
|
const storedRemotes = await app.settings.get("remotes") ?? {}
|
||||||
|
|
||||||
// mount main api bridge
|
// mount main api bridge
|
||||||
await this.props.cores.ApiCore.connectBridge("main", {
|
await this.props.cores.ApiCore.attachBridge("main", {
|
||||||
origin: storedRemotes.mainApi ?? defaultRemotes.mainApi,
|
origin: storedRemotes.mainApi ?? defaultRemotes.mainApi,
|
||||||
locked: true,
|
locked: true,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user