From f9f1ffe18328bcc7b45ee504215086ecae1a96c9 Mon Sep 17 00:00:00 2001 From: guo <1716967236@qq.com> Date: Sun, 26 Oct 2025 11:40:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(N/A):=20=E4=BF=AE=E6=94=B9dev=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E7=9A=84=20allowed-origins=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-dev.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/main/resources/application-dev.yml diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml new file mode 100644 index 0000000..a6c1de8 --- /dev/null +++ b/src/main/resources/application-dev.yml @@ -0,0 +1,19 @@ +spring: + # 配置数据库 + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://mysql8:3306/learning_progress_tracker?allowPublicKeyRetrieval=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8 + username: root + password: GUOxy5157 +server: + port: 5157 + +cors: + allowed-origins: + - http://192.168.123.199:5157 + - http://39.105.149.197:8115 + - https://lpt.cat-shark.xyz + +sa-token: + cookie: + secure: true