MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / loadConfig

Function loadConfig

web/js/config.js:7–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5};
6
7export async function loadConfig() {
8 try {
9 const res = await fetch(state.API_BASE + "/api/config");
10 state.config = await res.json();
11 return state.config;
12 } catch (err) {
13 console.error("Failed to load config:", err);
14 throw err;
15 }
16}

Callers 4

removeSkillFunction · 0.90
zipCommandFunction · 0.90
runCommandFunction · 0.90
initFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected