Skip to content

Commit

Permalink
remove port from js and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
JudahNour committed Aug 18, 2023
1 parent eba700b commit b9020fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions pkg/handler/flake_chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -873,16 +873,15 @@
await new Promise(resolve => google.charts.setOnLoadCallback(resolve));

let url;
const basePath = ':8080' // Base Server Path. Modify to actual server path if deploying
if (desiredEnvironment === undefined) {
// URL for displaySummaryChart
url = basePath + '/summary'
url = '/summary'
} else if (desiredTest === undefined) {
// URL for displayEnvironmentChart
url = basePath + '/env' + '?env=' + desiredEnvironment + '&tests_in_top=' + desiredTestNumber;
url = '/env' + '?env=' + desiredEnvironment + '&tests_in_top=' + desiredTestNumber;
} else {
// URL for displayTestAndEnvironmentChart
url = basePath + '/test' + '?env=' + desiredEnvironment + '&test=' + desiredTest;
url = '/test' + '?env=' + desiredEnvironment + '&test=' + desiredTest;
}

// Fetch data from the determined URL
Expand Down
2 changes: 1 addition & 1 deletion pkg/report/types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package report

// Version is gopogh version
var Version = "v0.17.0"
var Version = "v0.23.0"

// Build includes commit sha date
var Build string
Expand Down

0 comments on commit b9020fa

Please sign in to comment.