Skip to content

Commit 27529d6

Browse files
committed
更改打包设置
1 parent 1f1c535 commit 27529d6

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

gms-server/launch.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
@title BeiDou
33
chcp 65001
44

5-
.\jdk-21.0.2\bin\java.exe -Dspring.config.location=application.yml -jar BeiDou.jar
5+
.\jdk-21.0.11+10-jre\bin\java.exe -Dspring.config.location=application.yml -jar BeiDou.jar
66
pause

gms-server/launch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

33
# cover write
4-
./jdk-21.0.2/bin/java -Dspring.config.location=application.yml -jar BeiDou.jar &
4+
./jdk-21.0.11+10-jre/bin/java -Dspring.config.location=application.yml -jar BeiDou.jar &

gms-server/src/main/resources/application.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ app:
66

77
jwt:
88
# secret 生产环境请自行生成 UUID
9-
secret: "50da066e-6080-40f5-a173-86bd27d4f674"
9+
secret: "81a5cd39-c4a1-f8a2-1832-a32e5d85c470"
1010
# token 过期时间(毫秒)默认 30min
1111
duration: 1800000
1212

@@ -26,10 +26,10 @@ springdoc:
2626
# 生产环境需要关闭这2个参数
2727
api-docs:
2828
# 是否开启OpenApi,如果为false,则SwaggerUI也会被禁用
29-
enabled: true
29+
enabled: false
3030
swagger-ui:
3131
# 是否开启SwaggerUI,依赖OpenApi的开启
32-
enabled: true
32+
enabled: false
3333

3434
spring:
3535
flyway:

0 commit comments

Comments
 (0)