chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-03-26 18:25:19 -05:00
parent f3f8f9874f
commit 925f77f0f5
2 changed files with 11 additions and 5 deletions
@@ -12,7 +12,11 @@
import LockClosed from '$lib/components/icons/LockClosed.svelte';
import Tooltip from '$lib/components/common/Tooltip.svelte';
import ConfirmDialog from '$lib/components/common/ConfirmDialog.svelte';
import { detectTerminalServerType, verifyTerminalServerConnection, putOrchestratorPolicy } from '$lib/apis/configs';
import {
detectTerminalServerType,
verifyTerminalServerConnection,
putOrchestratorPolicy
} from '$lib/apis/configs';
import { getTerminalConfig } from '$lib/apis/terminal';
export let show = false;
@@ -112,10 +116,11 @@
try {
if (!direct) {
// System connection: proxy through backend to avoid CORS / key exposure
const result = await verifyTerminalServerConnection(
localStorage.token,
{ url: _url, key, auth_type }
);
const result = await verifyTerminalServerConnection(localStorage.token, {
url: _url,
key,
auth_type
});
const type = result?.type ?? null;
if (type) {