Переглянути джерело

Merge branch 'opencost:develop' into develop

Duncan 3 роки тому
батько
коміт
f40025be33
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      ui/src/services/allocation.js

+ 1 - 1
ui/src/services/allocation.js

@@ -1,7 +1,7 @@
 import axios from 'axios';
 import axios from 'axios';
 
 
 class AllocationService {
 class AllocationService {
-  BASE_URL = 'http://localhost:9090/allocation';
+  BASE_URL = process.env.BASE_URL || 'http://localhost:9090/allocation';
 
 
   async fetchAllocation(win, aggregate, options) {
   async fetchAllocation(win, aggregate, options) {
     const { accumulate, filters, } = options;
     const { accumulate, filters, } = options;