Fixed invalid versions.json URL (regression)

This commit is contained in:
squidfunk
2021-08-11 21:17:10 +02:00
parent f869d275b4
commit a855133f16
8 changed files with 12 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ export interface Config {
*/
const script = getElementOrThrow("#__config")
const config: Config = JSON.parse(script.textContent!)
config.base = new URL(config.base, getLocation()).toString()
config.base = `${new URL(config.base, getLocation())}`
/* ----------------------------------------------------------------------------
* Functions