summaryrefslogtreecommitdiff
path: root/spring-boot/05-bank-rest-client/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'spring-boot/05-bank-rest-client/src/main/resources')
-rw-r--r--spring-boot/05-bank-rest-client/src/main/resources/templates/index.html2
-rw-r--r--spring-boot/05-bank-rest-client/src/main/resources/templates/result.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/spring-boot/05-bank-rest-client/src/main/resources/templates/index.html b/spring-boot/05-bank-rest-client/src/main/resources/templates/index.html
index f30a2c0..a28a686 100644
--- a/spring-boot/05-bank-rest-client/src/main/resources/templates/index.html
+++ b/spring-boot/05-bank-rest-client/src/main/resources/templates/index.html
@@ -8,7 +8,7 @@
<body>
-Access <a href="/acc">/acc</a>
+Access <a th:href="@{/acc}">/acc</a>
</body>
diff --git a/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html b/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
index 15393be..c31e420 100644
--- a/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
+++ b/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
@@ -10,6 +10,6 @@
<p th:text="'Account number: ' + ${account.accountNumber}" />
<p th:text="'Balance: ' + ${account.balance}" />
- <a href="/acc">Try again</a>
+ <a th:href="@{/acc}">Try again</a>
</body>
</html> \ No newline at end of file