From 507d0732946a9f2209a4b3cc36a94aa44a0c5faf Mon Sep 17 00:00:00 2001 From: "jeremy.li" Date: Sun, 16 Oct 2022 12:42:57 -0700 Subject: [PATCH] fixed activatealarm --- frontend/src/components/CountdownTimer/CountdownTimer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/CountdownTimer/CountdownTimer.js b/frontend/src/components/CountdownTimer/CountdownTimer.js index f557f71..2d8c19a 100644 --- a/frontend/src/components/CountdownTimer/CountdownTimer.js +++ b/frontend/src/components/CountdownTimer/CountdownTimer.js @@ -8,9 +8,9 @@ import { useAtom } from "jotai"; const ExpiredNotice = () => { const [user, setUser] = useAtom(currUserAtom); - + const notifyTwilio = async () => { - const searchUrl = `http://localhost:4000/twlio/activateAlarm` + const searchUrl = `http://34.168.40.206:4000/twilio/activateAlarm/` const response = await fetch(searchUrl, { mode: 'cors', method: 'POST',