Skip to content

Commit 09eda3b

Browse files
Add Cloudflare Workers configuration
1 parent 52ac59a commit 09eda3b

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ packaging/macos/.build/
3434
# 临时补丁脚本(本地开发工具,不提交)
3535
patch_*.py
3636
rewrite_*.py
37+
38+
# wrangler files
39+
.wrangler
40+
.dev.vars*
41+
!.dev.vars.example
42+
!.env.example

wrangler.jsonc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "node_modules/wrangler/config-schema.json",
3+
"name": "thingspanel-installer",
4+
"compatibility_date": "2026-04-07",
5+
"observability": {
6+
"enabled": true
7+
},
8+
"assets": {
9+
"directory": "."
10+
},
11+
"compatibility_flags": [
12+
"nodejs_compat"
13+
]
14+
}

0 commit comments

Comments
 (0)