Skip to content

Commit be60586

Browse files
author
madlohe
committed
Add trailing slash to js CGI urls
1 parent fc0cbd3 commit be60586

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

html/js/histogram.js.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ angular.module("histogramApp", ["ui.bootstrap", "ui.utils",
2424
// URL parameters
2525
$scope.params = {
2626

27-
cgiurl: '@cgiurl@',
27+
cgiurl: '@cgiurl@/',
2828
reporttype: $scope.search.reporttype ?
2929
$scope.search.reporttype : "",
3030
host: $scope.search.host ? $scope.search.host : "",

html/js/map.js.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ angular.module("mapApp", ["ui.bootstrap", "ui.utils", "nagiosDecorations",
9797

9898
// URL parameters
9999
$scope.params = {
100-
cgiurl: '@cgiurl@',
100+
cgiurl: '@cgiurl@/',
101101
layout: map_layout,
102102
dimensions: $scope.search.dimensions ?
103103
$scope.search.dimensions : "",

html/js/trends.js.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ angular.module("trendsApp", ["ui.bootstrap", "ui.utils",
3434

3535
// URL parameters
3636
$scope.params = {
37-
cgiurl: '@cgiurl@',
37+
cgiurl: '@cgiurl@/',
3838
reporttype: $scope.search.reporttype ?
3939
$scope.search.reporttype : "",
4040
host: $scope.search.host ? $scope.search.host : "",

0 commit comments

Comments
 (0)