chore: sync local changes to Gitea
This commit is contained in:
19
wrangler.toml
Normal file
19
wrangler.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
name = "domainflare"
|
||||
main = "src/index.ts"
|
||||
compatibility_date = "2026-04-05"
|
||||
|
||||
# 应用入口令牌;生产环境建议改为 wrangler secret put APP_ACCESS_TOKEN
|
||||
[vars]
|
||||
APP_ACCESS_TOKEN = "shumengya"
|
||||
|
||||
[assets]
|
||||
directory = "./frontend/dist"
|
||||
binding = "ASSETS"
|
||||
not_found_handling = "single-page-application"
|
||||
run_worker_first = [ "/api", "/api/*" ]
|
||||
|
||||
[[d1_databases]]
|
||||
binding = "DB"
|
||||
database_name = "domainflare"
|
||||
database_id = "3b639703-aba7-4959-9aa9-6bb931a1ba83"
|
||||
migrations_dir = "migrations"
|
||||
Reference in New Issue
Block a user