update api url
882615e1
1 file(s) · +2 −2
| 17 | 17 | username: string; |
|
| 18 | 18 | }; |
|
| 19 | 19 | ||
| 20 | - | // const API_URL = "https://guestbook-db-production.up.railway.app"; |
|
| 21 | - | const API_URL = "http://localhost:3000"; |
|
| 20 | + | const API_URL = "https://guestbook-db-production.up.railway.app"; |
|
| 21 | + | // const API_URL = "http://localhost:3000"; |
|
| 22 | 22 | ||
| 23 | 23 | export default function GuestbookFeed() { |
|
| 24 | 24 | const [messages, setMessages] = useState<Message[]>([]); |