Skip to content

Commit 9974e71

Browse files
author
Nevo David
committed
feat: fix fetch
1 parent 19b838a commit 9974e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/frontend/src/components/launches/calendar.context.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const CalendarWeekProvider: FC<{
110110

111111
const loadData = useCallback(
112112
async (url: string) => {
113-
const data = (await fetch(`${url}?${params}`)).json();
113+
const data = (await fetch(`/posts${url}?${params}`)).json();
114114
return data;
115115
},
116116
[filters, params]

0 commit comments

Comments
 (0)