Files
SpringBootCodeGenerator-11/generator-web/src/main/resources/application.yml

37 lines
906 B
YAML

server:
port: 1234
servlet:
context-path: /generator
tomcat:
remote-ip-header: x-forward-for
uri-encoding: UTF-8
max-threads: 10
background-processor-delay: 30
basedir: ${user.home}/tomcat/
spring:
cloud:
nacos:
discovery:
server-addr: 127.0.0.1:8848
banner:
charset: UTF-8
http:
encoding:
force: true
charset: UTF-8
application:
name: spring-boot-code-generator
freemarker:
request-context-attribute: request
suffix: .ftl
content-type: text/html
enabled: true
cache: false
charset: UTF-8
allow-request-override: false
expose-request-attributes: true
expose-session-attributes: true
expose-spring-macro-helpers: true
#template-loader-path: classpath:/templates/
mvc:
static-path-pattern: /static/**