From 630a1772ae9ed70a0ba1789f9737e8f1216825bf Mon Sep 17 00:00:00 2001 From: Denis Shatskiy Date: Mon, 7 Jul 2025 13:41:50 +0700 Subject: [PATCH] Fix: Use relative API URL for production build --- frontend/src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 757a7a3..455d4f9 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -4,7 +4,7 @@ import { Container, Navbar, Table, Button, Form, InputGroup, Row, Col, Card, Alert } from 'react-bootstrap' -const API_URL = 'http://localhost:3001/api' +const API_URL = '/api' function App() { const [domains, setDomains] = useState([])