diff --git a/mock-backend/src/server.js b/mock-backend/src/server.js index 4ea06c95..8862050b 100644 --- a/mock-backend/src/server.js +++ b/mock-backend/src/server.js @@ -45,6 +45,7 @@ router.render = (req, res) => { res.status(404).jsonp({}); } } + res.status(res.statusCode).jsonp(res.locals.data); }; server.use(router);