Commit 2bc45ad4671b93db2bd683f6b84a0e382bf02884
1 parent
0bac2838
fix: 修复 avatar 配置
Showing
2 changed files
with
2 additions
and
2 deletions
yudao-server/src/main/resources/application-dev.yaml
| ... | ... | @@ -174,7 +174,7 @@ yudao: |
| 174 | 174 | mock-enable: true |
| 175 | 175 | mock-secret: test |
| 176 | 176 | file: |
| 177 | - base-path: http://api-dashboard.yudao.iocoder.cn${yudao.web.api-prefix}/infra/file/get/ | |
| 177 | + base-path: http://api-dashboard.yudao.iocoder.cn${yudao.web.admin-api.prefix}/infra/file/get/ | |
| 178 | 178 | xss: |
| 179 | 179 | enable: false |
| 180 | 180 | exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系 | ... | ... |
yudao-server/src/main/resources/application-local.yaml
| ... | ... | @@ -185,7 +185,7 @@ yudao: |
| 185 | 185 | mock-enable: true |
| 186 | 186 | mock-secret: test |
| 187 | 187 | file: |
| 188 | - base-path: http://127.0.0.1:${server.port}${yudao.web.api-prefix}/infra/file/get/ | |
| 188 | + base-path: http://127.0.0.1:${server.port}${yudao.web.admin-api.prefix}/infra/file/get/ | |
| 189 | 189 | xss: |
| 190 | 190 | enable: false |
| 191 | 191 | exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系 | ... | ... |