mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +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") ?? {}
|
||||
|
||||
// mount main api bridge
|
||||
await this.props.cores.ApiCore.connectBridge("main", {
|
||||
await this.props.cores.ApiCore.attachBridge("main", {
|
||||
origin: storedRemotes.mainApi ?? defaultRemotes.mainApi,
|
||||
locked: true,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user