diff --git a/backend/src/index.ts b/backend/src/index.ts index 8d39c1e..9f9bf65 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -4,7 +4,7 @@ import cors from "cors"; import { queryTripsFromStopById } from "./query"; -const PORT: number = 5000; +const PORT: number = 5005; const api = express(); diff --git a/frontend/src/services/busService.ts b/frontend/src/services/busService.ts index 5554ec5..08e18b2 100644 --- a/frontend/src/services/busService.ts +++ b/frontend/src/services/busService.ts @@ -1,4 +1,4 @@ -const baseUrl = "http://localhost:5000"; +const baseUrl = "http://localhost:5005"; export const getTimes = async () => { const response = await fetch(baseUrl + "/bus"); diff --git a/frontend/src/services/tramService.ts b/frontend/src/services/tramService.ts index 66d45ca..96c5d25 100644 --- a/frontend/src/services/tramService.ts +++ b/frontend/src/services/tramService.ts @@ -1,4 +1,4 @@ -const baseUrl = "http://localhost:5000"; +const baseUrl = "http://localhost:5005"; export const getTimes = async () => { const response = await fetch(baseUrl + "/tram");