diff --git a/docs/plugins/legend.md b/docs/plugins/legend.md index dcc3e588e0066a7438e0978e2ef454d8e9c45618..d8b16cbcabc726757d1324909d0f38680b278a6e 100644 --- a/docs/plugins/legend.md +++ b/docs/plugins/legend.md @@ -19,9 +19,9 @@ const { }); setLegend([ - 'https://lux1.atcomp.pl//minerva/resources/images/legend_d.png', - 'https://lux1.atcomp.pl//minerva/resources/images/legend_a.png', - 'https://lux1.atcomp.pl//minerva/resources/images/legend_b.png', + 'https://pdmap.uni.lu/minerva/resources/images/legend_d.png', + 'https://pdmap.uni.lu/minerva/resources/images/legend_a.png', + 'https://pdmap.uni.lu/minerva/resources/images/legend_b.png', ]); ``` diff --git a/src/components/Map/Legend/Legend.component.test.tsx b/src/components/Map/Legend/Legend.component.test.tsx index 266c109cfee97985c6a1b9828ca7ee6b4e6a1257..86579befb08d91b34de61bde2a17655758e95f45 100644 --- a/src/components/Map/Legend/Legend.component.test.tsx +++ b/src/components/Map/Legend/Legend.component.test.tsx @@ -19,9 +19,9 @@ import { Legend } from './Legend.component'; const PLUGIN_ID = '1'; const PLUGIN_NAME = 'Plugin Custom Name'; const LEGEND_IMAGES = [ - 'https://lux1.atcomp.pl//minerva/resources/images/legend_d.png', - 'https://lux1.atcomp.pl//minerva/resources/images/legend_a.png', - 'https://lux1.atcomp.pl//minerva/resources/images/legend_b.png', + 'https://pdmap.uni.lu/minerva/resources/images/legend_d.png', + 'https://pdmap.uni.lu/minerva/resources/images/legend_a.png', + 'https://pdmap.uni.lu/minerva/resources/images/legend_b.png', ]; jest.mock('../../../redux/legend/legend.selectors', () => ({ diff --git a/src/constants/index.ts b/src/constants/index.ts index e6d48f736000822bdbccb1b177170cf6e3080d2c..45ab179b8518efc24fe3b6e9ff44aa45307f8123 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -11,6 +11,6 @@ export const ZOD_SEED = parseInt(process.env.ZOD_SEED || '123', 10); export const BIO_ENTITY = 'bioEntity'; export const DRUGS_CHEMICALS = ['drugs', 'chemicals']; export const MINERVA_WEBSITE_URL = 'https://minerva.pages.uni.lu/doc/'; -export const API_DOCS_URL = 'https://lux1.atcomp.pl/minerva/docs/'; +export const API_DOCS_URL = `${BASE_API_URL}/../docs/`; export const ADMIN_PANEL_URL = getConfigValue('ADMIN_PANEL_URL'); export const CURRENT_PROJECT_ADMIN_PANEL_URL = `${ADMIN_PANEL_URL}?id=${PROJECT_ID}`;