diff --git a/apps/cic-meta/scripts/server/server.ts b/apps/cic-meta/scripts/server/server.ts index 66fde62a..29aa923e 100755 --- a/apps/cic-meta/scripts/server/server.ts +++ b/apps/cic-meta/scripts/server/server.ts @@ -193,6 +193,7 @@ async function processRequest(req, res) { res.end(); return; } + content = ''; break; case 'get:automerge:client': @@ -251,7 +252,7 @@ async function processRequest(req, res) { } if (content === undefined) { - console.error('empty content', data); + console.error('empty content', mod, digest, data); res.writeHead(404, {"Content-Type": "text/plain"}); res.end(); return;