支持在action中配置d1
This commit is contained in:
@@ -9,6 +9,12 @@ main = ".open-next/worker.js"
|
||||
directory = ".open-next/assets"
|
||||
binding = "ASSETS"
|
||||
|
||||
# D1 数据库绑定
|
||||
[[d1_databases]]
|
||||
binding = "DB"
|
||||
database_name = "moontvplus"
|
||||
database_id = "REPLACE_WITH_YOUR_D1_DATABASE_ID"
|
||||
|
||||
[vars]
|
||||
NODE_ENV = "production"
|
||||
BUILD_TARGET = "cloudflare"
|
||||
|
||||
Reference in New Issue
Block a user