Skip to content

Commit cfd0574

Browse files
committed
fix: adjust default metrics base url
1 parent 2a476ec commit cfd0574

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ are defined, all questionSets will be returned.
4242
are 'pie' and 'bar'. Defaults to 'pie' if not defined.
4343
* colors: A list of hex colors to be used for plotting. Defaults to ELIXIR colors
4444
* endpoint: The API endpoint to get the data from. Defaults
45-
to "https://tmd.elixir-europe.org/metrics/set/"
45+
to "https://tmd.elixir-europe.org/metrics"

widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Base endpoint for question set summary statistics.
44
* Consumers can override this by providing a full `endpoint` option.
55
*/
6-
const DEFAULT_BASE_URL = 'https://tmd.elixir-europe.org/metrics/set/';
6+
const DEFAULT_BASE_URL = 'https://tmd.elixir-europe.org/metrics';
77
const CHART_JS_CDN = 'https://cdn.jsdelivr.net/npm/chart.js';
88

99
/**

0 commit comments

Comments
 (0)