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

-将 spring.profiles.active 从 prod 改为 dev
- 在配置文件中添加 api-url 属性
This commit is contained in:
2025-08-12 00:09:28 +08:00
parent 28f927536c
commit bb47400b30

View File

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