Merge pull request #327 from matschik/main

docs(cloudflare): fix import in Cloudflare configuration example
This commit is contained in:
dswbx
2026-01-11 19:32:50 +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
```
```