2
0
Эх сурвалжийг харах

removing equality check and replacing with contains check
equality check was overritten by overzealous entrypoint script

Signed-off-by: Logan Ballard <loganballard@gmail.com>

Logan Ballard 3 жил өмнө
parent
commit
9c78cc879c

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

@@ -4,7 +4,7 @@ class AllocationService {
   BASE_URL = process.env.BASE_URL || '{PLACEHOLDER_BASE_URL}';
 
   async fetchAllocation(win, aggregate, options) {
-    if (this.BASE_URL === '{PLACEHOLDER_BASE_URL}') {
+    if (this.BASE_URL.includes('PLACEHOLDER_BASE_URL')) {
       this.BASE_URL = `http://localhost:9090/model`
     }