Commit d3a3fb6fca5188fbffc4ed3aee66f542b4274f0b
1 parent
f8822f2e
更新thymeleaf 配置
Showing
1 changed file
with
10 additions
and
10 deletions
admin-ui.yml
| @@ -8,11 +8,11 @@ spring: | @@ -8,11 +8,11 @@ spring: | ||
| 8 | discovery: | 8 | discovery: |
| 9 | enabled: true | 9 | enabled: true |
| 10 | thymeleaf: | 10 | thymeleaf: |
| 11 | - # prefix: classpath:/templates/ | ||
| 12 | - # suffix: .html | ||
| 13 | - # mode: HTML5 | ||
| 14 | - # encoding: UTF-8 | ||
| 15 | - # content-type: text/html | 11 | + prefix: classpath:/templates/ |
| 12 | + suffix: .html | ||
| 13 | + mode: HTML5 | ||
| 14 | + encoding: UTF-8 | ||
| 15 | + content-type: text/html | ||
| 16 | cache: false | 16 | cache: false |
| 17 | 17 | ||
| 18 | endpoints: | 18 | endpoints: |
| @@ -41,11 +41,11 @@ spring: | @@ -41,11 +41,11 @@ spring: | ||
| 41 | discovery: | 41 | discovery: |
| 42 | enabled: true | 42 | enabled: true |
| 43 | thymeleaf: | 43 | thymeleaf: |
| 44 | - # prefix: classpath:/templates/ | ||
| 45 | - # suffix: .html | ||
| 46 | - # mode: HTML5 | ||
| 47 | - # encoding: UTF-8 | ||
| 48 | - # content-type: text/html | 44 | + prefix: classpath:/templates/ |
| 45 | + suffix: .html | ||
| 46 | + mode: HTML5 | ||
| 47 | + encoding: UTF-8 | ||
| 48 | + content-type: text/html | ||
| 49 | cache: false | 49 | cache: false |
| 50 | 50 | ||
| 51 | endpoints: | 51 | endpoints: |