Commit 5151112912629b98d92b10b30df03f2d57134f15
Committed by
GitHub
Merge pull request #68 from crimson-gao/fix/avatar
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,7 +174,7 @@ yudao: | ||
| 174 | mock-enable: true | 174 | mock-enable: true |
| 175 | mock-secret: test | 175 | mock-secret: test |
| 176 | file: | 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 | xss: | 178 | xss: |
| 179 | enable: false | 179 | enable: false |
| 180 | exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系 | 180 | exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系 |
yudao-server/src/main/resources/application-local.yaml
| @@ -185,7 +185,7 @@ yudao: | @@ -185,7 +185,7 @@ yudao: | ||
| 185 | mock-enable: true | 185 | mock-enable: true |
| 186 | mock-secret: test | 186 | mock-secret: test |
| 187 | file: | 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 | xss: | 189 | xss: |
| 190 | enable: false | 190 | enable: false |
| 191 | exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系 | 191 | exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系 |