changed backend port to be 5005

This commit is contained in:
Aaro Koivukangas
2024-03-05 12:39:49 +02:00
parent 43f3b788cc
commit d1eee84726
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import cors from "cors";
import { queryTripsFromStopById } from "./query"; import { queryTripsFromStopById } from "./query";
const PORT: number = 5000; const PORT: number = 5005;
const api = express(); const api = express();
+1 -1
View File
@@ -1,4 +1,4 @@
const baseUrl = "http://localhost:5000"; const baseUrl = "http://localhost:5005";
export const getTimes = async () => { export const getTimes = async () => {
const response = await fetch(baseUrl + "/bus"); const response = await fetch(baseUrl + "/bus");
+1 -1
View File
@@ -1,4 +1,4 @@
const baseUrl = "http://localhost:5000"; const baseUrl = "http://localhost:5005";
export const getTimes = async () => { export const getTimes = async () => {
const response = await fetch(baseUrl + "/tram"); const response = await fetch(baseUrl + "/tram");