no more codapi, no more extra json
This commit is contained in:
parent
8c8b2a915a
commit
33627a993d
|
@ -259,9 +259,6 @@ fn handle_exec(buf: *io::stream, serv_req: *http::server_request) (void | badreq
|
|||
defer json::finish(obj);
|
||||
json::set(&obj, "stdout", stdout);
|
||||
json::set(&obj, "stderr", stderr);
|
||||
json::set(&obj, "id", "123");
|
||||
json::set(&obj, "ok", true);
|
||||
json::set(&obj, "duration", 0.0);
|
||||
|
||||
json::dump(buf, obj)!;
|
||||
|
||||
|
|
|
@ -115,6 +115,10 @@ div.editor, div.executor {
|
|||
resize: none !important;
|
||||
tab-size: 4;
|
||||
margin-bottom: 10px;
|
||||
|
||||
@media (max-width: 800px) {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.std-output {
|
||||
|
|
Loading…
Reference in a new issue