fix(desktop): set serverPassword
This commit is contained in:
@@ -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} />
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user