mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-23 14:23:39 -04:00
Fixed invalid version selector URL
This commit is contained in:
@@ -142,7 +142,7 @@ export function mountHeaderTitle(
|
||||
/* Render version selector */
|
||||
const config = configuration()
|
||||
if (config.version?.provider === "mike")
|
||||
requestJSON<Version[]>(new URL("../versions.json", config.base))
|
||||
requestJSON<Version[]>(new URL("versions.json", config.base))
|
||||
.subscribe(versions => {
|
||||
const topic = getElementOrThrow(".md-header__topic", el)
|
||||
topic.appendChild(renderVersionSelector(versions))
|
||||
|
||||
Reference in New Issue
Block a user