mirror of
https://github.com/ragestudio/comty.git
synced 2025-07-11 02:04:15 +00:00
use attachBridge
This commit is contained in:
parent
b83abc83a0
commit
161eb4d432
@ -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