debug
This commit is contained in:
@@ -165,6 +165,11 @@ git pull --ff-only origin main
|
||||
- 但国外机的一键脚本内部会自动识别仓库属主
|
||||
- 然后把前端构建切到仓库属主执行
|
||||
- 这样可以避免把 `node_modules`、`dist`、源码目录权限烧成 `root`
|
||||
- `/etc/default/domaincheck-api` 里的 `CORS_ORIGINS` 必须使用 JSON 数组格式
|
||||
- 正确示例:
|
||||
- `CORS_ORIGINS='["https://admin.domain","http://127.0.0.1:3201","http://localhost:3201"]'`
|
||||
- 不能写成逗号拼接字符串:
|
||||
- `CORS_ORIGINS=https://admin.domain,http://127.0.0.1:3201,http://localhost:3201`
|
||||
|
||||
最稳的执行方式:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user