Only enable security config for h2-console when property is set

This commit is contained in:
Dario Seidl
2018-04-10 11:31:51 +02:00
parent 7e9b018d7e
commit 8ff2ebdf5e
2 changed files with 15 additions and 6 deletions

View File

@@ -5,4 +5,5 @@ jwt.sessionTime=86400
mybatis.config-location=classpath:mybatis-config.xml
mybatis.mapper-locations=mapper/*.xml
logging.level.io.spring.infrastructure.mybatis.readservice.ArticleReadService=DEBUG
spring.h2.console.enabled=true
# Uncomment the following line to enable and allow access to the h2-console
#spring.h2.console.enabled=true