Skip to content

Commit dfcd696

Browse files
committed
fix(web): images not loading due to incorrect fetch url
1 parent 7bb5707 commit dfcd696

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/website/app/routes/_index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ async function fetchSponsorData(name: string) {
5858
}
5959
const stringifiedQuery = stringify({ where: query }, { addQueryPrefix: true })
6060

61-
/* const response = await fetch(`https://axiom.cuhacking.ca/api/brands${stringifiedQuery}`) */
62-
const response = await fetch(`http://localhost:8000/api/brands${stringifiedQuery}`)
61+
const response = await fetch(`https://axiom.cuhacking.ca/api/brands${stringifiedQuery}`)
62+
/* const response = await fetch(`http://localhost:8000/api/brands${stringifiedQuery}`) */
6363

6464
if (!response.ok) {
6565
throw new Error(`Failed to fetch sponsor data: ${response.status} ${response.statusText}`)

0 commit comments

Comments
 (0)