mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 16:14:10 +00:00
Fix render method
This commit is contained in:
1 parent
e95ebfd6a0
commit
e71d21fc27
1 file changed
+1
@@ -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