From 21ffad602690eaf367d17d158c287b0bd61d9739 Mon Sep 17 00:00:00 2001 From: amy Date: Tue, 8 Oct 2024 16:59:59 +0330 Subject: [PATCH] MRAAAAW - luna, while biting my lap --- src/components/api.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/api.tsx b/src/components/api.tsx index d3c2c96..12a6376 100644 --- a/src/components/api.tsx +++ b/src/components/api.tsx @@ -17,7 +17,7 @@ interface NeoReview extends Review { export default function Reviews() { const [reviews, setReviews] = createSignal([]); onMount(() => { - fetch("https://api.review.exhq.dev/getreviews") + fetch("https://backendreview.mono.exhq.dev/getreviews") .then(response => response.json()) .then((data: Review[]) => { const promises = data.map(review => ( @@ -95,7 +95,7 @@ export const theImager = async (id: string): Promise => (await fetch(`ht } export async function sendReview(review: string, token: string): Promise { try { - const response = await fetch(`https://api.review.exhq.dev/sendreview?review=${review}`, { + const response = await fetch(`https://backendreview.mono.exhq.dev/sendreview?review=${review}`, { headers: { "Auth": token, },