1. 程式人生 > >springBoot靜態資源配置

springBoot靜態資源配置

#server port
server.port=80


#spring	security
admin=admin
password=123456

#MySQL config  &zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
#spring.datasource.url=jdbc:mysql://221.122.92.56:3306/runlp?characterEncoding=utf8&serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
spring.datasource.url=jdbc:mysql://221.122.92.56:3306/runlp?useUnicode=true&characterEncoding=utf-8&useSSL=false
spring.datasource.username=root
[email protected]
#beacon056 spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.hikari.connection-timeout=20000 spring.datasource.hikari.maximum-pool-size=5 spring.datasource.type=com.zaxxer.hikari.HikariDataSource mybatis.mapper-locations=classpath:mapper/*.xml #html static resources spring.freemarker.template-loader-path=classpath:/templates/ spring.freemarker.cache=false spring.freemarker.charset=UTF-8 spring.freemarker.check-template-location=true spring.freemarker.content-type=text/html spring.freemarker.expose-request-attributes=true spring.freemarker.expose-session-attributes=true spring.freemarker.request-context-attribute=request spring.freemarker.suffix=.html #sql logging.level.com.run.runlpwebdemo.dao= debug