mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
This commit is contained in:
parent
039213cf50
commit
55256ada95
23 changed files with 409 additions and 110 deletions
|
|
@ -65,6 +65,7 @@ function (http, nodeStatic, Api) {
|
|||
var status = self.api.isError ? 400 : 200;
|
||||
res.writeHead(status, {"Content-Type": self.api.getContentType()});
|
||||
res.end(self.api.getOutput());
|
||||
self.api.isError = false;
|
||||
break;
|
||||
|
||||
case new RegExp(/^\/app/).test(req.url):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue