change error image

This commit is contained in:
KoonQi 2023-09-05 17:38:53 +08:00
parent 4926e29270
commit 54bd3fc934
6 changed files with 3 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

BIN
src/.DS_Store vendored Normal file

Binary file not shown.

BIN
src/main/.DS_Store vendored Normal file

Binary file not shown.

View file

@ -23,3 +23,5 @@ logging.level.org.springframework=INFO
# Maximum time static resources should be cached
spring.web.resources.cache.cachecontrol.max-age=12h
server.port=8081

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View file

@ -3,7 +3,7 @@
<html xmlns:th="https://www.thymeleaf.org" th:replace="~{fragments/layout :: layout (~{::body},'error')}">
<body>
<img src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
<img src="../static/resources/images/error.jpg" th:src="@{/resources/images/error.jpg}"/>
<h2>Something happened...</h2>
<p th:text="${message}">Exception message</p>
</body>