mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
index.html isn't needed in the url (#1041)
This commit is contained in:
@ -24,7 +24,7 @@ function convertVersionsToHtmlLinks(versionsList, currentVersion) {
|
|||||||
if (version === currentVersion) {
|
if (version === currentVersion) {
|
||||||
classes += ' selected';
|
classes += ' selected';
|
||||||
}
|
}
|
||||||
out += `<a href="/${version}/index.html"><button class="${classes}">${version}</button></a>`;
|
out += `<a href="/${version}/"><button class="${classes}">${version}</button></a>`;
|
||||||
}
|
}
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user