调整本地开发环境配置参数

This commit is contained in:
2026-04-12 13:06:29 +08:00
parent 43747f785c
commit 1d1b48bdbd
+6 -5
View File
@@ -2,17 +2,18 @@ spring:
# 配置数据库 # 配置数据库
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/learning_progress_tracker?characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8 url: jdbc:mysql://39.105.149.197:8109/learning_progress_tracker?allowPublicKeyRetrieval=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root username: root
password: password: GUOxy5157
server: server:
port: 5157 port: 5157
cors: cors:
allowCredentials: true
allowed-origins: allowed-origins:
- http://localhost:5158 - '*'
- http://192.168.123.199:5158
sa-token: sa-token:
cookie: cookie:
secure: false secure: false
sameSite: Lax