mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 02:07:46 -05:00
refac
This commit is contained in:
1 parent
b01fe7fae2
commit
6f2fc7bc7a
66 files changed
+2206
-2737
No files matched your search
@@ -106,11 +106,10 @@
|
||||
);
|
||||
const systemTerminals = await getTerminalServers(localStorage.token);
|
||||
const systemEntries = systemTerminals.map((t) => ({
|
||||
id: t.id,
|
||||
...t,
|
||||
url: `${WEBUI_API_BASE_URL}/terminals/${t.id}`,
|
||||
name: t.name,
|
||||
key: localStorage.token,
|
||||
contexts: t.contexts ?? {},
|
||||
config: t.config ?? {}
|
||||
}));
|
||||
terminalServers.set([...existingDirectTerminals, ...systemEntries] as any);
|
||||
@@ -332,7 +331,7 @@
|
||||
|
||||
<div class="mt-1 text-[0.6875rem] text-gray-400 dark:text-gray-600">
|
||||
{$i18n.t(
|
||||
'Connect to Open Terminal instances. Admins and users granted access can use file browsing and terminal tools through these servers.'
|
||||
'Connect to Open Terminal servers. Admins and users granted access can use file browsing and terminal tools through these servers.'
|
||||
)}
|
||||
</div>
|
||||
<a
|
||||
|
||||
Reference in new issue
Block a user