File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,7 @@ function getBaseUrl() {
11
11
12
12
// If we're on a page like /logging/6.2/..., the first part is the docType
13
13
// and we should return everything up to that part including the hostname
14
- if ( pathParts . length >= 1 ) {
15
- // Create a URL that includes everything up to the docType directory
16
- const baseUrl = `${ window . location . protocol } //${ window . location . host } /` ;
17
- return baseUrl ;
18
- }
14
+
19
15
20
16
// Fallback to current origin
21
17
return `${ window . location . protocol } //${ window . location . host } /` ;
Original file line number Diff line number Diff line change 577
577
< script src ="https://docs.okd.io/latest/_javascripts/bootstrap-offcanvas.js " type ="text/javascript "> </ script >
578
578
< script src ="https://docs.okd.io/latest/_javascripts/reformat-html.js " type ="text/javascript "> </ script >
579
579
< script src ="https://docs.okd.io/latest/_javascripts/hc-search.js " type ="text/javascript "> </ script >
580
- < script src ="/logging/6.0 /_javascripts/page-loader.js " type ="text/javascript "> </ script >
580
+ < script src ="/logging/main /_javascripts/page-loader.js " type ="text/javascript "> </ script >
581
581
< script src ="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js " type ="text/javascript "> </ script >
582
582
< script src ="https://docs.okd.io/latest/_javascripts/clipboard.js " type ="text/javascript "> </ script >
583
583
< script src ="https://docs.okd.io/latest/_javascripts/collapsible.js " type ="text/javascript "> </ script >
You can’t perform that action at this time.
0 commit comments