Merge pull request #1 from matschik/matschik-patch-1

docs(cloudflare): modify import in Cloudflare configuration example
This commit is contained in:
Mathieu Schimmerling
2026-01-02 19:38:19 +01:00
committed by GitHub

View File

@@ -214,7 +214,7 @@ Now you can use the CLI with your Cloudflare resources.
Instead, it's recommended to split this configuration into separate files, e.g. `bknd.config.ts` and `config.ts`:
```typescript title="config.ts"
import type { CloudflareBkndConfig } from "bknd/adapter/cloudflare";
import { d1, type CloudflareBkndConfig } from "bknd/adapter/cloudflare";
export default {
app: (env) => ({
@@ -236,4 +236,4 @@ As an additional safe guard, you have to set a `PROXY` environment variable to `
```bash
PROXY=1 npx bknd types
```
```