diff --git a/index.js b/index.js index b470c30..0af9a2b 100644 --- a/index.js +++ b/index.js @@ -44,6 +44,49 @@ function attach(docker_id, output_stream) { } router.get("/", async (ctx) => { + ctx.body = /* HTML */ ` + + +
+ + +
+ + +
+ +
+
+ + + `; +}); + +router.get("/preview", async (ctx) => { const s = new Readable({ read() {} }); // stream data ctx.response.set("content-type", "txt/html");