mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
Merge pull request #327 from matschik/main
docs(cloudflare): fix import in Cloudflare configuration example
This commit is contained in:
@@ -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`:
|
Instead, it's recommended to split this configuration into separate files, e.g. `bknd.config.ts` and `config.ts`:
|
||||||
|
|
||||||
```typescript title="config.ts"
|
```typescript title="config.ts"
|
||||||
import type { CloudflareBkndConfig } from "bknd/adapter/cloudflare";
|
import { d1, type CloudflareBkndConfig } from "bknd/adapter/cloudflare";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
app: (env) => ({
|
app: (env) => ({
|
||||||
@@ -236,4 +236,4 @@ As an additional safe guard, you have to set a `PROXY` environment variable to `
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
PROXY=1 npx bknd types
|
PROXY=1 npx bknd types
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user