diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-06 21:00:32 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-06 21:00:32 +0530 |
| commit | 8fc60b3ccd9fd076004d61c2bc190aaedd073c46 (patch) | |
| tree | 358cb88be27bd81d6691531db438c80f11c96187 /spring-boot/06-form-handling-with-thymeleaf/src/main/resources/config | |
| parent | 3d3d8fb1e2937fbc05cfd867098fbf873ff6897c (diff) | |
Added Spring Boot DevTools support and css to the project
Diffstat (limited to 'spring-boot/06-form-handling-with-thymeleaf/src/main/resources/config')
| -rw-r--r-- | spring-boot/06-form-handling-with-thymeleaf/src/main/resources/config/application-dev.properties | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/config/application-dev.properties b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/config/application-dev.properties new file mode 100644 index 0000000..f0f380b --- /dev/null +++ b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/config/application-dev.properties @@ -0,0 +1,10 @@ +# This file contains settings used during development. +# If using Maven to run, try the following command: +# mvn spring-boot:run -Dspring-boot.run.profiles=dev + +# Disable caching for static resources +spring.web.resources.cache.period=0 +spring.thymeleaf.cache=false + +# Optional: Tell DevTools to watch changes but never restart the backend server for CSS +spring.devtools.restart.exclude=static/**,public/**,templates/** |
