MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / later

Function later

renderer.js:13866–13869  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13864 console.log('Server mode confirmed, constructing download URL');
13865 // Construct download URL - use /api/download/ endpoint which handles zip entries
13866 const encodedPath = encodeURIComponent(filePath);
13867 const downloadUrl = `/api/download/${encodedPath}`;
13868 console.log('Download URL:', downloadUrl);
13869
13870 // Try using direct link first (simpler and more reliable)
13871 // This works better when the server sets Content-Disposition header
13872 const link = document.createElement('a');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected