From add75dced1421d93b75086fcc1345e8a84962ba0 Mon Sep 17 00:00:00 2001 From: amy Date: Wed, 30 Apr 2025 16:25:29 +0330 Subject: [PATCH] idk if this works or not --- src/components/api.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/api.tsx b/src/components/api.tsx index bf54f9a..40cf6d8 100644 --- a/src/components/api.tsx +++ b/src/components/api.tsx @@ -16,7 +16,7 @@ interface NeoReview extends Review { export default function Reviews() { const [reviews, setReviews] = createSignal([]); onMount(() => { - fetch("https://review.exhq.dev/getreviews") + fetch("https://maggie.amy.rip/reviews") .then((response) => response.json()) .then((data: Review[]) => { const promises = data.map((review) => @@ -106,10 +106,10 @@ export async function sendReview( ): Promise { try { const response = await fetch( - `https://review.exhq.dev/sendreview?review=${review}`, + `https://maggie.amy.rip/sendreview?review=${review}`, { headers: { - Auth: token, + Authentication: token, }, method: "POST", },