print 'Not found' on invalid path

This commit is contained in:
jomo 2016-11-08 00:21:33 +01:00
parent c02d3d33e9
commit 24cfc03811

View File

@ -32,7 +32,11 @@ function asset_request(req, callback) {
});
});
} else {
callback({});
callback({
body: "Not found",
status: -2,
code: 404,
});
}
});
}