MCPcopy Create free account
hub / github.com/Noumena-Network/code / getConfiguredNamespace

Function getConfiguredNamespace

src/utils/protectedNamespace.js:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37function getConfiguredNamespace() {
38 const namespace = process.env.COO_NAMESPACE
39 if (!namespace) return null
40 const trimmed = namespace.trim()
41 return trimmed.length > 0 ? trimmed : null
42}
43
44export function checkProtectedNamespace() {
45 // Homespace is explicitly treated as unprotected.

Callers 1

checkProtectedNamespaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected