chore(config): 切换环境配置并添加 API URL
-将 spring.profiles.active 从 prod 改为 dev - 在配置文件中添加 api-url 属性
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user