From f91591232544e9436c0c70fa48dbebe54c961c17 Mon Sep 17 00:00:00 2001 From: Birk Johansson Date: Tue, 29 Oct 2024 09:28:25 +0100 Subject: [PATCH] fix(orgunit): fix image preview url --- src/pages/organisationUnits/form/ImageField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/organisationUnits/form/ImageField.tsx b/src/pages/organisationUnits/form/ImageField.tsx index a42980a8..9607af76 100644 --- a/src/pages/organisationUnits/form/ImageField.tsx +++ b/src/pages/organisationUnits/form/ImageField.tsx @@ -136,7 +136,7 @@ const ImagePreview = ({ } if (fileResource && fileResource.id) { - const src = `${baseUrl}/fileResources/${fileResource.id}/data` + const src = `${baseUrl}/api/fileResources/${fileResource.id}/data` return {i18n.t('Preview }