refactor(admin): 重构评论管理界面样式和功能
feat(login): 添加API地址配置功能并支持本地存储 fix(api): 移除CWD_CONFIG_KV相关配置改用数据库存储 fix(cors): 修改跨域配置允许所有来源 perf(email): 添加邮件发送日志记录和调试信息 perf(comments): 优化评论提交和邮件通知逻辑 docs(backend): 更新后端配置文档移除CWD_CONFIG_KV相关说明 chore: 更新端口号和示例配置
This commit is contained in:
@@ -50,11 +50,10 @@ npm install
|
||||
]
|
||||
```
|
||||
如果`binding`字段不是`CWD_DB`,请修改为`CWD_DB`
|
||||
|
||||
|
||||
* **创建 KV 存储**,如果遇到提示,按回车继续
|
||||
```bash
|
||||
npx wrangler kv namespace create CWD_AUTH_KV
|
||||
npx wrangler kv namespace create CWD_CONFIG_KV
|
||||
```
|
||||
运行完成后可以确认一下 `wrangler.jsonc` 中是否有如下配置
|
||||
```jsonc
|
||||
@@ -62,10 +61,6 @@ npm install
|
||||
{
|
||||
"binding": "CWD_AUTH_KV",
|
||||
"id": "xxxxxxx" // KV 存储 ID
|
||||
},
|
||||
{
|
||||
"binding": "CWD_CONFIG_KV",
|
||||
"id": "xxxxxxx" // KV 存储 ID
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user