2025-12-01 19:50:05: merge [main:a98265f7d58e2b42c8db92b425aa97f5b7572959];
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s

This commit is contained in:
txix committed 2025-12-01 19:50:05 +03:00
1 parent 9b51e3379a
commit 856df328fe
1 file changed
+5 -1
+5 -1
View File
@@ -9,7 +9,11 @@
window.AppVersion = APP_VERSION
</script>
<script>
const BASE_URL = '%BASE_URL%' === '/' ? '' : '%BASE_URL%'
let BASE_URL = '%BASE_URL%'
if (BASE_URL === '/') {
BASE_URL = ''
}
BASE_URL = BASE_URL.replace(/\/$/, '')
const configScript = document.createElement('script')
configScript.src = BASE_URL + '/config.js'
document.head.appendChild(configScript)