Skip to content

Commit

Permalink
✨ 更新配置文件, 增加 h2 console, 便与调试.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojun1998 committed Jan 30, 2020
1 parent acc4151 commit e15b6c2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ server:
enabled: true

spring:
h2:
console:
settings:
web-allow-others: true
path: /h2-console
enabled: false
datasource:
# 初始化数据导入
data: classpath*:db/data.sql
Expand Down Expand Up @@ -39,7 +45,7 @@ spring:
chain:
gzipped: true
profiles:
active: prod
active: dev
zfile:
cache:
timeout: 300
Expand Down

0 comments on commit e15b6c2

Please sign in to comment.