标签: javascript spring thymeleaf
有没有办法以较短的方式从auth0.domain获取application.yml?我知道对于HTML,你可以使用th:utext="#{auth0.domain}"'但是JS怎么样?
auth0.domain
application.yml
th:utext="#{auth0.domain}"'
<script type="text/javascript"> const auth0Domain = '[[${@environment.getProperty("auth0.domain")}]]'; </script>