aboutsummaryrefslogtreecommitdiffhomepage
path: root/worker/index.mjs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-08 10:13:05 +0900
committernsfisis <nsfisis@gmail.com>2025-03-08 10:13:05 +0900
commit8dbdf96e674c1e26d7c98af8d0608f30bc1bf166 (patch)
tree7c82476f6bbbc71d72ab7e71e39559eca197fd95 /worker/index.mjs
parent54316868c3bec1ff9b04643dfe6c13cf56bf3246 (diff)
parent1e6df136d8202c8adf65948527f4c3e7583b338c (diff)
downloadphperkaigi-2025-albatross-8dbdf96e674c1e26d7c98af8d0608f30bc1bf166.tar.gz
phperkaigi-2025-albatross-8dbdf96e674c1e26d7c98af8d0608f30bc1bf166.tar.zst
phperkaigi-2025-albatross-8dbdf96e674c1e26d7c98af8d0608f30bc1bf166.zip
Merge branch 'phperkaigi-2025-ws-to-polling' into phperkaigi-2025
Diffstat (limited to 'worker/index.mjs')
-rw-r--r--worker/index.mjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/worker/index.mjs b/worker/index.mjs
index 525fe63..9950ffa 100644
--- a/worker/index.mjs
+++ b/worker/index.mjs
@@ -27,6 +27,7 @@ const execPhp = (code, input, timeoutMsec) => {
const app = new Hono();
app.post("/exec", async (c) => {
+ console.log("worker/exec");
const { code, stdin, max_duration_ms } = await c.req.json();
const result = await execPhp(code, stdin, max_duration_ms);
return c.json(result);