Update Join.tsx

This commit is contained in:
Tony Giorgio
2023-02-11 20:15:30 -06:00
committed by GitHub
parent de565e26f3
commit 3be2da7ee7

View File

@@ -13,7 +13,7 @@ export default function Join() {
// Fetch the waitlist status from the backend // Fetch the waitlist status from the backend
useEffect(() => { useEffect(() => {
if (waitlistId) { if (waitlistId) {
fetch(`http://127.0.0.1:8787/waitlist/${waitlistId}`).then(res => { fetch(`https://waitlist.mutiny-waitlist.workers.dev/waitlist${waitlistId}`).then(res => {
if (res.status === 200) { if (res.status === 200) {
setWaitlisted(true); setWaitlisted(true);
} }