diff --git a/pkg/handler/flake_chart.html b/pkg/handler/flake_chart.html index 56ed4f1..0948c1d 100644 --- a/pkg/handler/flake_chart.html +++ b/pkg/handler/flake_chart.html @@ -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 @@ -902,7 +901,7 @@ } else { displayTestAndEnvironmentChart(data, query); } - url = basePath + '/version' + url = '/version' const verResponse = await fetch(url); if (!verResponse.ok) { diff --git a/pkg/report/types.go b/pkg/report/types.go index 4ec4b14..b1eb23c 100644 --- a/pkg/report/types.go +++ b/pkg/report/types.go @@ -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