fix(desktop): set serverPassword
This commit is contained in:
parent
35cb06e0e4
commit
b01eec38d1
1 changed files with 3 additions and 1 deletions
|
|
@ -304,7 +304,9 @@ render(() => {
|
||||||
)}
|
)}
|
||||||
<ServerGate>
|
<ServerGate>
|
||||||
{(data) => {
|
{(data) => {
|
||||||
setServerPassword(data().password)
|
setServerPassword(data().password);
|
||||||
|
window.__OPENCODE__ ??= {};
|
||||||
|
window.__OPENCODE__.serverPassword = data().password ?? undefined;
|
||||||
|
|
||||||
return <AppInterface defaultUrl={data().url} />
|
return <AppInterface defaultUrl={data().url} />
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue