diff options
| author | Yuval Adam <_@yuv.al> | 2025-10-03 14:44:06 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2025-10-03 14:44:06 +0200 |
| commit | 426a00177fd5e6f6240c6e202349b9988bafcd7d (patch) | |
| tree | 5d270fce4974ce4ad81921e219377762fff70ffa | |
| parent | 0496c0e4e1e5d88df593916a302308e0640456b7 (diff) | |
Fix img host
| -rw-r--r-- | src/components/Geshem.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Geshem.tsx b/src/components/Geshem.tsx index 387a8bd..c34cbc1 100644 --- a/src/components/Geshem.tsx +++ b/src/components/Geshem.tsx @@ -21,9 +21,9 @@ export function Geshem({ date }: GeshemProps) { useEffect(() => { const fetchImages = async () => - fetch(`${IMAGES_BASE_URL}/imgs/`) + fetch(`/imgs/`) .then(res => res.json()) - .then(data => data.images.map((img: any) => img.path)) + .then(data => (data as any).images.map((img: any) => img.path)) .then(setImages); const buildPlayback = async () => { |
