mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-30 09:43:05 -04:00
Fixed invalid versions.json URL (regression)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user