Browse Source

chore(config): 切换环境配置并添加 API URL

-将 spring.profiles.active 从 prod 改为 dev
- 在配置文件中添加 api-url 属性
main
科技小王子 2 weeks ago
parent
commit
bb47400b30
  1. 4
      src/main/resources/application.yml

4
src/main/resources/application.yml

@ -4,7 +4,7 @@ server:
# 多环境配置
spring:
profiles:
active: prod
active: dev
application:
name: server
@ -93,6 +93,8 @@ config:
server-url: https://server.websoft.top/api
# 文件服务器
file-server: https://file.wsdns.cn
# 其他
api-url: https://server.websoft.top/api
upload-path: /Users/gxwebsoft/Documents/uploads/
local-upload-path: /Users/gxwebsoft/Documents/uploads/

Loading…
Cancel
Save