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

Function getAccountUrl

bin/lib/updateIndex.mjs:45–48  ·  view source on GitHub ↗
(name, config)

Source from the content-addressed store, hash-verified

43}
44
45function getAccountUrl (name, config) {
46 const serverUrl = new URL(config.serverUri)
47 return `${serverUrl.protocol}//${name}.${serverUrl.host}/`
48}
49
50function isUpdateAllowed (indexFilePath) {
51 const indexSource = fs.readFileSync(indexFilePath, 'utf-8')

Callers 1

updateIndex.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected