MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / isDockerContainer

Function isDockerContainer

main.js:442–449  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

440 const caPath = path.resolve(caEnv);
441 if (fs.existsSync(caPath)) {
442 opts.ca = fs.readFileSync(caPath);
443 } else {
444 console.warn('[Server] PRINTVENTORY_TLS_CA not found:', caPath);
445 }
446 }
447 return opts;
448}
449
450/**
451 * Proxy Puter AI chat requests server-side to avoid CORS (api.puter.com only allows https://puter.com).
452 * The browser still uses Puter.js for authentication/captcha; only the drivers/call is proxied.

Callers 3

validateUncPathFunction · 0.70
startHttpServerFunction · 0.70
main.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected