mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-19 11:19: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
|
// You can use other online database, do it yourself. For more info: https://db0.unjs.io/connectors
|
||||||
nitroOption.database = undefined
|
nitroOption.database = undefined
|
||||||
} else if (isCF) {
|
} else if (isCF) {
|
||||||
nitroOption.preset = "cloudflare-workers"
|
nitroOption.preset = "cloudflare-pages"
|
||||||
nitroOption.database = {
|
nitroOption.database = {
|
||||||
default: {
|
default: {
|
||||||
connector: "cloudflare-d1",
|
connector: "cloudflare-d1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user