aboutsummaryrefslogtreecommitdiff
path: root/connector/src/test/resources/config/templates/eidas_node_forward.html
diff options
context:
space:
mode:
authorChristian Kollmann <christian.kollmann@a-sit.at>2021-12-07 09:00:22 +0100
committerChristian Kollmann <christian.kollmann@a-sit.at>2021-12-07 11:01:13 +0100
commita017ebff96d2cc12943801c933e5733b4e827b3b (patch)
tree3016eed0fe5491e6dd7a377d7b3684298d12d80b /connector/src/test/resources/config/templates/eidas_node_forward.html
parent514f99284299882ce9b3e7741094eb55561b503e (diff)
downloadNational_eIDAS_Gateway-a017ebff96d2cc12943801c933e5733b4e827b3b.tar.gz
National_eIDAS_Gateway-a017ebff96d2cc12943801c933e5733b4e827b3b.tar.bz2
National_eIDAS_Gateway-a017ebff96d2cc12943801c933e5733b4e827b3b.zip
Use relative paths in templates to enable preview in browser
If Thymeleaf is active (i.e. the template is rendered by the Webapp), the path gets replaced anyway.
Diffstat (limited to 'connector/src/test/resources/config/templates/eidas_node_forward.html')
-rw-r--r--connector/src/test/resources/config/templates/eidas_node_forward.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/connector/src/test/resources/config/templates/eidas_node_forward.html b/connector/src/test/resources/config/templates/eidas_node_forward.html
index 186937d7..6dffa34b 100644
--- a/connector/src/test/resources/config/templates/eidas_node_forward.html
+++ b/connector/src/test/resources/config/templates/eidas_node_forward.html
@@ -4,7 +4,7 @@
layout:decorator="fragments/base"
th:with="lang=${#locale.language}" th:lang="${lang}">
<head>
- <script src="$contextPath/autocommit.js"
+ <script src="../webcontent/autocommit.js"
th:attr="src=@{/autocommit.js}"></script>
</head>
<body>