2025-12-01 19:50:05: merge [main:a98265f7d58e2b42c8db92b425aa97f5b7572959];
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
This commit is contained in:
1 parent
9b51e3379a
commit
856df328fe
1 file changed
+5
-1
+5
-1
@@ -9,7 +9,11 @@
|
|||||||
window.AppVersion = APP_VERSION
|
window.AppVersion = APP_VERSION
|
||||||
</script>
|
</script>
|
||||||
<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')
|
const configScript = document.createElement('script')
|
||||||
configScript.src = BASE_URL + '/config.js'
|
configScript.src = BASE_URL + '/config.js'
|
||||||
document.head.appendChild(configScript)
|
document.head.appendChild(configScript)
|
||||||
|
|||||||
Reference in new issue
Block a user