fix: nitro preset

This commit is contained in:
Ou 2024-10-24 02:27:29 +08:00
parent aa0c6138c2
commit 9232a502ec

View File

@ -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",