diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-06-17 02:48:36 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-06-17 02:48:36 +0300 |
commit | 77c9edf809cac2e9577e1b9de5236fd6de6be578 (patch) | |
tree | 14d995609699f9b839ae53a3b046cdad638d324c /api/routes/index.js | |
parent | 01ff1c0a97cd36e69e21bac0776bef21be7ae374 (diff) | |
download | arching-kaos-tools-77c9edf809cac2e9577e1b9de5236fd6de6be578.tar.gz arching-kaos-tools-77c9edf809cac2e9577e1b9de5236fd6de6be578.tar.bz2 arching-kaos-tools-77c9edf809cac2e9577e1b9de5236fd6de6be578.zip |
API: Error response errno -> error
Diffstat (limited to 'api/routes/index.js')
-rw-r--r-- | api/routes/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/routes/index.js b/api/routes/index.js index 9a6f433..c019967 100644 --- a/api/routes/index.js +++ b/api/routes/index.js @@ -48,5 +48,5 @@ router.route(settings.URL_PREFIX+'/sblk').post(receiveZBlock); // Send a zchain link to the node (refering to a valid zchain out there) router.route(settings.URL_PREFIX+'/szch').post(receiveZChain); -router.route('/*').get((req,res)=>{console.log(req.url);res.send({errno:"404"})}); +router.route('/*').get((req,res)=>{console.log(req.url);res.send({error:"404"})}); module.exports = router; |