This commit is contained in:
Rizky 2024-01-21 18:19:21 +07:00
parent bc7c91369d
commit 1131a9d95b
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,12 @@
import { spawnSync } from "child_process";
Bun.serve({
port: 3000,
fetch(request, server) {
return new Response("Hello World\n\n" + process.cwd(), {
status: 200,
});
},
});
spawnSync("bun run prod", { cwd: "/app/prasi/repo" });