mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-19 03:09:14 +08:00
fix: nitro preset
This commit is contained in:
parent
aa0c6138c2
commit
9232a502ec
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user