chore: 更新wrangler.jsonc.example配置示例
添加nodejs_compat兼容性标志和send_email配置
This commit is contained in:
@@ -7,6 +7,14 @@
|
|||||||
"name": "cwd-comments-api",
|
"name": "cwd-comments-api",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"compatibility_date": "2026-01-03",
|
"compatibility_date": "2026-01-03",
|
||||||
|
"compatibility_flags": [
|
||||||
|
"nodejs_compat"
|
||||||
|
],
|
||||||
"workers_dev": true,
|
"workers_dev": true,
|
||||||
"preview_urls": true
|
"preview_urls": true,
|
||||||
|
"send_email": [
|
||||||
|
{
|
||||||
|
"name": "SEND_EMAIL"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user