From 0094dc831fa7d8370dc4edb1bf9f13db2f39c5a3 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Tue, 6 Oct 2020 21:47:54 +0300 Subject: [PATCH] Check if external URL is reachable before inserting fragments from there Signed-off-by: Pekka Helenius --- .../src/main/resources/templates/fragments/footerpart.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bookstore/src/main/resources/templates/fragments/footerpart.html b/bookstore/src/main/resources/templates/fragments/footerpart.html index cba008d..96ade52 100644 --- a/bookstore/src/main/resources/templates/fragments/footerpart.html +++ b/bookstore/src/main/resources/templates/fragments/footerpart.html @@ -10,8 +10,12 @@ target domain environment. Once fully implemented, footer relative URLs should w */-->
+

Dev note: This footer is fetched from an external URL and presented only for demonstration purposes.

-
+ +
+ +