MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / loadLocalConn

Function loadLocalConn

frontend/src/api/modules/terminal.ts:50–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49// agent
50export const loadLocalConn = () => {
51 return http.get<Host.HostConnTest>(`/settings/ssh/conn`);
52};
53export const testLocalConn = () => {
54 return http.post<boolean>(`/settings/ssh/check`);
55};

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected