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

Function setDefaultNodeInfo

frontend/src/utils/node.ts:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34export const setDefaultNodeInfo = () => {
35 const globalStore = GlobalStore();
36 globalStore.currentNode = 'local';
37 globalStore.currentNodeAddr = '127.0.0.1';
38};

Callers 1

changeToLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected