MRAAAAW - luna, while biting my lap

This commit is contained in:
amy 2024-10-08 16:59:59 +03:30
parent b8a6741e5a
commit 21ffad6026

View file

@ -17,7 +17,7 @@ interface NeoReview extends Review {
export default function Reviews() {
const [reviews, setReviews] = createSignal<NeoReview[]>([]);
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<string> => (await fetch(`ht
}
export async function sendReview(review: string, token: string): Promise<boolean> {
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,
},