소스 검색

fix: 修复 avatar 配置

crimson 3 년 전
부모
커밋
2bc45ad467
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      yudao-server/src/main/resources/application-dev.yaml
  2. 1 1
      yudao-server/src/main/resources/application-local.yaml

+ 1 - 1
yudao-server/src/main/resources/application-dev.yaml

@@ -174,7 +174,7 @@ yudao:
     mock-enable: true
     mock-secret: test
   file:
-    base-path: http://api-dashboard.yudao.iocoder.cn${yudao.web.api-prefix}/infra/file/get/
+    base-path: http://api-dashboard.yudao.iocoder.cn${yudao.web.admin-api.prefix}/infra/file/get/
   xss:
     enable: false
     exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系

+ 1 - 1
yudao-server/src/main/resources/application-local.yaml

@@ -185,7 +185,7 @@ yudao:
     mock-enable: true
     mock-secret: test
   file:
-    base-path: http://127.0.0.1:${server.port}${yudao.web.api-prefix}/infra/file/get/
+    base-path: http://127.0.0.1:${server.port}${yudao.web.admin-api.prefix}/infra/file/get/
   xss:
     enable: false
     exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系