diff --git a/src/frontend/src/App.tsx b/src/frontend/src/App.tsx index d553b5b24..10cdf6a84 100644 --- a/src/frontend/src/App.tsx +++ b/src/frontend/src/App.tsx @@ -49,7 +49,7 @@ export default function App() { // Initialize state variable for the version const [version, setVersion] = useState(""); useEffect(() => { - fetch("api/v1/version") + fetch("/version") .then((res) => res.json()) .then((data) => { setVersion(data.version); diff --git a/src/frontend/src/pages/MainPage/index.tsx b/src/frontend/src/pages/MainPage/index.tsx index 36b24a17d..8f391b5fc 100644 --- a/src/frontend/src/pages/MainPage/index.tsx +++ b/src/frontend/src/pages/MainPage/index.tsx @@ -311,7 +311,7 @@ export default function HomePage() {