Add support for base url configuration

This commit is contained in:
Paulo Gustavo Veiga
2022-04-13 19:16:51 -03:00
parent deb4cf498a
commit 0f1e0d29f2
4 changed files with 6 additions and 10 deletions

View File

@@ -14,7 +14,7 @@
<script>
window.serverconfig = {
apiBaseUrl: '',
apiBaseUrl: '${requestScope['site.baseurl']}',
analyticsAccount: '${requestScope['google.analytics.account']}',
clientType: 'rest',
recaptcha2Enabled: ${requestScope['google.recaptcha2.enabled']},