diff options
| -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 () => { |
