MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / getProjectZipUrl

Function getProjectZipUrl

webapp/_webapp/src/libs/helpers.ts:64–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64export function getProjectZipUrl() {
65 const projectId = getProjectId();
66 const url = new URL(window.location.href);
67 url.pathname = "/project/" + projectId + "/download/zip";
68 url.search = "";
69 url.hash = "";
70 return url.toString();
71}
72
73// Generate ID functions
74export function generateIdSeed() {

Callers

nothing calls this directly

Calls 1

getProjectIdFunction · 0.85

Tested by

no test coverage detected