summaryrefslogtreecommitdiff
path: root/src/components/List.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/List.js')
-rw-r--r--src/components/List.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/List.js b/src/components/List.js
index bc74020..b93f2ee 100644
--- a/src/components/List.js
+++ b/src/components/List.js
@@ -24,7 +24,7 @@ class List extends React.Component {
// Fetch data from external source, update state
getData() {
- fetch("http://localhost:8000/sc/v0/get", {
+ fetch(`${process.env.COLLECTOR_URL}/sc/v0/get`, {
headers: {
Authorization: "Basic " + btoa("user1:pw1")
}