feat: secret application.yaml

This commit is contained in:
SOR
2026-08-06 16:10:11 +08:00
parent 065b9f77e4
commit b56f7bd9bf
3 changed files with 7 additions and 6 deletions
+1
View File
@@ -5,6 +5,7 @@
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/src/beckend/.kotlin" /> <excludeFolder url="file://$MODULE_DIR$/src/beckend/.kotlin" />
<excludeFolder url="file://$MODULE_DIR$/src/beckend/build" /> <excludeFolder url="file://$MODULE_DIR$/src/beckend/build" />
<excludeFolder url="file://$MODULE_DIR$/.idea/dataSources" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
+3
View File
@@ -5,6 +5,9 @@ build/
!**/src/main/**/build/ !**/src/main/**/build/
!**/src/test/**/build/ !**/src/test/**/build/
src/main/resources/
!src/main/resources/application.yaml
### STS ### ### STS ###
.apt_generated .apt_generated
.classpath .classpath
@@ -25,17 +25,14 @@ spring:
security: security:
jwt: jwt:
key: 6846513216 #key: 6846513216
expire-hours: 168 expire-hours: 168
datasource: datasource:
url: jdbc:mariadb://localhost:3306/kotlin_springboot url: jdbc:mariadb://localhost:3306/kotlin_springboot
driver-class-name: org.mariadb.jdbc.Driver driver-class-name: org.mariadb.jdbc.Driver
username: root #username: root
password: 123456 #password: 123456
mybatis-plus:
type-handlers-package: com.github.sor2171.backend.config
app: app:
flow-limit: flow-limit: