Skip to content

Commit 138b216

Browse files
committed
Set sandboxId to null for runloop and hopx
1 parent 2dcfcff commit 138b216

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/modal-sandbox/src/routes/sandboxes.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,9 @@ sandboxRouter.post("/:sandboxId/stop", async (c) => {
456456
.update(sandboxes)
457457
.set({
458458
status: "STOPPED",
459-
sandboxId: ["deno", "vercel", "modal", "e2b"].includes(record.provider)
459+
sandboxId: ["deno", "vercel", "modal", "e2b", "runloop", "hopx"].includes(
460+
record.provider,
461+
)
460462
? null
461463
: record.sandboxId,
462464
})

0 commit comments

Comments
 (0)