change default mode of cloudflare example to "warm", suppress listener info

This commit is contained in:
dswbx
2025-02-18 13:26:26 +01:00
parent 964bacd824
commit 400db84dd5
3 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
import { serve } from "bknd/adapter/cloudflare";
export default serve({
mode: "fresh",
mode: "warm",
onBuilt: async (app) => {
app.modules.server.get("/custom", (c) => c.json({ hello: "world" }));
}