mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Bonsai docs: fix version switcher scheme mismatch (http vs https)
versionURLs in brand.html used http:// while the docs sites are served over https://, so currentURL.includes(url) never matched and the <select> never reflected/switched to Unstable. Fixes #8023. Generated with the assistance of an AI coding tool.
This commit is contained in:
committed by
Dion Moult
parent
4a717ca7ff
commit
780739719f
+2
-2
@@ -38,8 +38,8 @@ Hope your day's going well. :)
|
|||||||
<script>
|
<script>
|
||||||
// Define the mapping of versions to URLs
|
// Define the mapping of versions to URLs
|
||||||
const versionURLs = {
|
const versionURLs = {
|
||||||
stable: 'http://docs.bonsaibim.org/',
|
stable: 'https://docs.bonsaibim.org/',
|
||||||
unstable: 'http://docs-unstable.bonsaibim.org/',
|
unstable: 'https://docs-unstable.bonsaibim.org/',
|
||||||
// Add more versions here as needed
|
// Add more versions here as needed
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user