Skip to content

Commit

Permalink
chore: allow different catalog used for polar prod
Browse files Browse the repository at this point in the history
  • Loading branch information
lubojr committed Apr 29, 2024
1 parent dd4bb6a commit 6d1ac48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/store/modules/indicators.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 6d1ac48

Please sign in to comment.