Prechádzať zdrojové kódy

fix: 修复 avatar 配置

crimson 3 rokov pred
rodič
commit
2bc45ad467

+ 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,仅仅是为了演示,去掉配置也没关系