Skip to content

Commit e4df267

Browse files
authored
Merge pull request #83 from JudahNour/changePort
remove port from js and update version
2 parents eba700b + f679ad1 commit e4df267

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

pkg/handler/flake_chart.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -873,16 +873,15 @@
873873
await new Promise(resolve => google.charts.setOnLoadCallback(resolve));
874874

875875
let url;
876-
const basePath = ':8080' // Base Server Path. Modify to actual server path if deploying
877876
if (desiredEnvironment === undefined) {
878877
// URL for displaySummaryChart
879-
url = basePath + '/summary'
878+
url = '/summary'
880879
} else if (desiredTest === undefined) {
881880
// URL for displayEnvironmentChart
882-
url = basePath + '/env' + '?env=' + desiredEnvironment + '&tests_in_top=' + desiredTestNumber;
881+
url = '/env' + '?env=' + desiredEnvironment + '&tests_in_top=' + desiredTestNumber;
883882
} else {
884883
// URL for displayTestAndEnvironmentChart
885-
url = basePath + '/test' + '?env=' + desiredEnvironment + '&test=' + desiredTest;
884+
url = '/test' + '?env=' + desiredEnvironment + '&test=' + desiredTest;
886885
}
887886

888887
// Fetch data from the determined URL
@@ -902,7 +901,7 @@
902901
} else {
903902
displayTestAndEnvironmentChart(data, query);
904903
}
905-
url = basePath + '/version'
904+
url = '/version'
906905

907906
const verResponse = await fetch(url);
908907
if (!verResponse.ok) {

pkg/report/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package report
22

33
// Version is gopogh version
4-
var Version = "v0.17.0"
4+
var Version = "v0.23.0"
55

66
// Build includes commit sha date
77
var Build string

0 commit comments

Comments
 (0)