MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / capabilityDiscovery

Function capabilityDiscovery

lib/capability-discovery.mjs:12–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 * @return {Router} Express router
11 */
12export default function capabilityDiscovery () {
13 const router = express.Router('/')
14
15 // Advertise the server capability discover endpoint
16 router.get('/.well-known/solid', serviceCapabilityDocument())
17 return router
18}
19
20/**
21 * Serves the service capability document (containing server root URL, including

Callers 1

initHeadersFunction · 0.85

Calls 2

getMethod · 0.45

Tested by

no test coverage detected