From 6d1ac48f67700c8f64fdd320a0bca4b77e3480e7 Mon Sep 17 00:00:00 2001 From: Lubomir Dolezal Date: Mon, 29 Apr 2024 13:04:43 +0200 Subject: [PATCH] chore: allow different catalog used for polar prod --- app/src/store/modules/indicators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/store/modules/indicators.js b/app/src/store/modules/indicators.js index 3d8761f659..c171db3ad4 100644 --- a/app/src/store/modules/indicators.js +++ b/app/src/store/modules/indicators.js @@ -183,7 +183,7 @@ const actions = { // only for testing and staging environments const currUrl = new URL(window.location.href); const catalogBranch = currUrl.searchParams.get('catalog'); - const testenv = window.location.href.search('test|staging|localhost|eox.world'); + const testenv = window.location.href.search('polar|test|staging|localhost|eox.world'); if (catalogBranch !== null && testenv !== -1) { const bucket = 'https://eodashcatalog.eox.at/'; const mapping = {