I am trying to inject a domain url into a link using Thymeleaf. My url is being passed from the controller because i put logging and saw it.
my link is as such in my Thymeleaf html template:
<link type="text/css" th:href="@{${DomainUrl}/web/assets/css/foundation5/foundation.min.css}" rel="stylesheet" />
however, when I run it locally it doesn't replace the domain, for example, throws an error (because the URL is not found of course) render as such: http://localhost:8081/pss/ui/$%7BDomainUrl%7D/web/assets/css/components.css