mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-06 10:31:11 +00:00
app version mode update
This commit is contained in:
parent
8a60dfa586
commit
b5d380fae5
3 changed files with 47 additions and 16 deletions
|
|
@ -23,3 +23,5 @@ logging.level.org.springframework=INFO
|
|||
|
||||
# Maximum time static resources should be cached
|
||||
spring.web.resources.cache.cachecontrol.max-age=12h
|
||||
|
||||
app.version=local
|
||||
|
|
@ -84,5 +84,7 @@
|
|||
<script th:src="@{/webjars/bootstrap/dist/js/bootstrap.bundle.min.js}"></script>
|
||||
|
||||
</body>
|
||||
|
||||
<div style="position: fixed; bottom: 10px; right: 10px; color: #aaa; font-size: 0.8em;">
|
||||
Version: <span th:text="${@environment.getProperty('app.version')}"></span>
|
||||
</div>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue