mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
fix(desktop): set serverPassword
This commit is contained in:
parent
35cb06e0e4
commit
b01eec38d1
@ -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…
x
Reference in New Issue
Block a user