mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 16:46:00 +00:00
template: added cloudflare vite code template
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { serve } from "bknd/adapter/cloudflare";
|
||||
import config from "../../config.ts";
|
||||
|
||||
export default serve(config, () => ({
|
||||
// since bknd is running code-only, we can use a pre-initialized app instance if available
|
||||
warm: true,
|
||||
}));
|
||||
Reference in New Issue
Block a user