Skip to content

Instantly share code, notes, and snippets.

@CodingLink
Created May 18, 2022 15:19
Show Gist options
  • Select an option

  • Save CodingLink/5c56c2debf06f456a6e3ccf5ab4fdd9c to your computer and use it in GitHub Desktop.

Select an option

Save CodingLink/5c56c2debf06f456a6e3ccf5ab4fdd9c to your computer and use it in GitHub Desktop.
thymeleaf static
# mysql
spring.jpa.hibernate.ddl-auto=update
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
# default properties
spring.profiles.active=dev
#spring.jpa.show-sql: true
# MyBatis
mybatis.configuration.map-underscore-to-camel-case=true
#thymeleaf
#静态文件的url访问路径
spring.mvc.static-path-pattern=/**
#静态文件存储路径
spring.web.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment