MRAAAAW - luna, while biting my lap
This commit is contained in:
parent
b8a6741e5a
commit
21ffad6026
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue