diff --git a/vite.config.ts b/vite.config.ts index 5189fd8..845ddea 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -80,7 +80,7 @@ if (isVercel) { // You can use other online database, do it yourself. For more info: https://db0.unjs.io/connectors nitroOption.database = undefined } else if (isCF) { - nitroOption.preset = "cloudflare-workers" + nitroOption.preset = "cloudflare-pages" nitroOption.database = { default: { connector: "cloudflare-d1",