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() {
|
export default function Reviews() {
|
||||||
const [reviews, setReviews] = createSignal<NeoReview[]>([]);
|
const [reviews, setReviews] = createSignal<NeoReview[]>([]);
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
fetch("https://api.review.exhq.dev/getreviews")
|
fetch("https://backendreview.mono.exhq.dev/getreviews")
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then((data: Review[]) => {
|
.then((data: Review[]) => {
|
||||||
const promises = data.map(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> {
|
export async function sendReview(review: string, token: string): Promise<boolean> {
|
||||||
try {
|
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: {
|
headers: {
|
||||||
"Auth": token,
|
"Auth": token,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue