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:
Petru Conduraru
2026-07-13 12:43:32 +03:00
committed by Dion Moult
parent 4a717ca7ff
commit 780739719f
+2 -2
View File
@@ -38,8 +38,8 @@ Hope your day's going well. :)
<script>
// Define the mapping of versions to URLs
const versionURLs = {
stable: 'http://docs.bonsaibim.org/',
unstable: 'http://docs-unstable.bonsaibim.org/',
stable: 'https://docs.bonsaibim.org/',
unstable: 'https://docs-unstable.bonsaibim.org/',
// Add more versions here as needed
};