mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 00:53:14 +00:00
Fix render method
This commit is contained in:
@@ -45,6 +45,7 @@ router.render = (req, res) => {
|
||||
res.status(404).jsonp({});
|
||||
}
|
||||
}
|
||||
res.status(res.statusCode).jsonp(res.locals.data);
|
||||
};
|
||||
|
||||
server.use(router);
|
||||
|
||||
Reference in New Issue
Block a user