1
Fork 0

no more codapi, no more extra json

This commit is contained in:
Jan-Erik Rediger 2024-06-03 20:39:51 +02:00
parent 8c8b2a915a
commit 33627a993d
2 changed files with 4 additions and 3 deletions

View file

@ -259,9 +259,6 @@ fn handle_exec(buf: *io::stream, serv_req: *http::server_request) (void | badreq
defer json::finish(obj); defer json::finish(obj);
json::set(&obj, "stdout", stdout); json::set(&obj, "stdout", stdout);
json::set(&obj, "stderr", stderr); 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)!; json::dump(buf, obj)!;

View file

@ -115,6 +115,10 @@ div.editor, div.executor {
resize: none !important; resize: none !important;
tab-size: 4; tab-size: 4;
margin-bottom: 10px; margin-bottom: 10px;
@media (max-width: 800px) {
margin-top: 10px;
}
} }
.std-output { .std-output {