Skip to content

Commit

Permalink
Revert "update application.yml"
Browse files Browse the repository at this point in the history
This reverts commit 09ca4c2.
  • Loading branch information
xuanzhi33 committed Jul 20, 2024
1 parent 09ca4c2 commit 51ce055
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 21 deletions.
1 change: 1 addition & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Android-app/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

11 changes: 3 additions & 8 deletions server/java/carproject-server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
spring:
profiles:
active: dev
datasource:
driver-class-name: ${carproject.datasource.driver-class-name}
url: jdbc:mysql://${carproject.datasource.host}:${carproject.datasource.port}/${carproject.datasource.database}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
username: ${carproject.datasource.username}
password: ${carproject.datasource.password}
driver-class-name: com.mysql.cj.jdbc.Driver
profiles:
include: db

mybatis:
mapper-locations: classpath:mapper/*.xml
type-aliases-package:
configuration:
map-underscore-to-camel-case: true

Expand Down

0 comments on commit 51ce055

Please sign in to comment.