Skip to content

Commit

Permalink
Merge pull request #83 from JudahNour/changePort
Browse files Browse the repository at this point in the history
remove port from js and update version
  • Loading branch information
spowelljr authored Aug 18, 2023
2 parents eba700b + f679ad1 commit e4df267
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 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 All @@ -902,7 +901,7 @@
} else {
displayTestAndEnvironmentChart(data, query);
}
url = basePath + '/version'
url = '/version'

const verResponse = await fetch(url);
if (!verResponse.ok) {
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 e4df267

Please sign in to comment.