Meta returns 404 if resource is not found.
This commit is contained in:
parent
b7942ddcfa
commit
d6c763f2d7
@ -147,7 +147,7 @@ function handleClientMergeGet(db, digest, keystore) {
|
||||
doh(e);
|
||||
});
|
||||
}).catch((e) => {
|
||||
console.error('mesage', e);
|
||||
console.error('message', e);
|
||||
doh(e);
|
||||
});
|
||||
});
|
||||
|
@ -205,7 +205,7 @@ async function processRequest(req, res) {
|
||||
|
||||
if (content === undefined) {
|
||||
console.error('empty content', data);
|
||||
res.writeHead(400, {"Content-Type": "text/plain"});
|
||||
res.writeHead(404, {"Content-Type": "text/plain"});
|
||||
res.end();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user