MCPcopy Create free account
hub / github.com/error311/FileRise / buildInternalLink

Function buildInternalLink

public/js/fileLink.js:28–30  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

26}
27
28function buildInternalLink(token) {
29 return `${window.location.origin}${withBase(`/index.html?fileLink=${encodeURIComponent(token)}`)}`;
30}
31
32function openFileLinkResultModal(fileName, link) {
33 const existing = document.getElementById('fileLinkResultModal');

Callers 1

openFileLinkModalFunction · 0.85

Calls 1

withBaseFunction · 0.85

Tested by

no test coverage detected