mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 19:55:11 +00:00
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>
|
||||
{(data) => {
|
||||
setServerPassword(data().password)
|
||||
setServerPassword(data().password);
|
||||
window.__OPENCODE__ ??= {};
|
||||
window.__OPENCODE__.serverPassword = data().password ?? undefined;
|
||||
|
||||
return <AppInterface defaultUrl={data().url} />
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue