docs: 批量更新历史文档中的 backend-single 引用为 server
This commit is contained in:
@@ -570,13 +570,13 @@ deploy_ssl() {
|
||||
deploy_backend() {
|
||||
log_section "部署后端服务"
|
||||
|
||||
if [ ! -f "backend-single/deploy.sh" ]; then
|
||||
if [ ! -f "server/deploy.sh" ]; then
|
||||
log_error "后端部署脚本不存在"
|
||||
return 1
|
||||
fi
|
||||
|
||||
log_info "执行后端部署..."
|
||||
cd backend-single
|
||||
cd server
|
||||
bash deploy.sh remote
|
||||
local result=$?
|
||||
cd ..
|
||||
@@ -828,7 +828,7 @@ git commit -m "config: 更新管理后台部署脚本访问地址提示"
|
||||
### Task 9: 检查并修改后端 CORS 配置
|
||||
|
||||
**Files:**
|
||||
- Modify: `backend-single/src/main/resources/application.yml` (或相应配置文件)
|
||||
- Modify: `server/src/main/resources/application.yml` (或相应配置文件)
|
||||
|
||||
- [ ] **Step 1: 读取当前后端配置文件**
|
||||
|
||||
@@ -841,7 +841,7 @@ git commit -m "config: 更新管理后台部署脚本访问地址提示"
|
||||
- [ ] **Step 3: 提交**
|
||||
|
||||
```bash
|
||||
git add backend-single/src/main/resources/application.yml
|
||||
git add server/src/main/resources/application.yml
|
||||
git commit -m "config: 更新 CORS 配置允许新域名访问"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user