diff --git a/src/components/algolia/results/summer-course/summer-course.tsx b/src/components/algolia/results/summer-course/summer-course.tsx index dac1b575..e7a0a1e3 100644 --- a/src/components/algolia/results/summer-course/summer-course.tsx +++ b/src/components/algolia/results/summer-course/summer-course.tsx @@ -81,6 +81,7 @@ const SummerCourse = ({hit}: {hit: CourseHit}) => { }) const hitDomain = new URL(hit.url).origin + const imageUrl = hit.photo?.replace(hitDomain, process.env.NEXT_PUBLIC_DRUPAL_BASE_URL as string) return (