mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +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.
(cherry picked from commit 780739719f)
This commit is contained in:
committed by
Dion Moult
parent
ff244cc2db
commit
73687e041e
+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