Skip to content
Snippets Groups Projects
Verified Commit 4eacb16f authored by Martin Weise's avatar Martin Weise
Browse files

Too strict

parent 3a295e79
No related branches found
No related tags found
3 merge requests!231CI: Remove build for log-service,!228Better error message handling in the frontend,!223Release of version 1.4.0
......@@ -10,11 +10,9 @@
<script>
function getVersion() {
const segments = location.pathname.split('/')
if (segments.length === 5) {
console.log('version', segments[3], segments)
if (segments.length >= 4) {
return segments[3]
} else {
console.log('version defaulted to 1.4', segments)
return '1.4'
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment