From 9232a502ece922689423978933868fe5b8251f68 Mon Sep 17 00:00:00 2001 From: Ou Date: Thu, 24 Oct 2024 02:27:29 +0800 Subject: [PATCH] fix: nitro preset --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",