summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-10-03 14:44:06 +0200
committerYuval Adam <_@yuv.al>2025-10-03 14:44:06 +0200
commit426a00177fd5e6f6240c6e202349b9988bafcd7d (patch)
tree5d270fce4974ce4ad81921e219377762fff70ffa /src/components
parent0496c0e4e1e5d88df593916a302308e0640456b7 (diff)
Fix img host
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Geshem.tsx4
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 () => {