mirror of
https://github.com/iritmaximus/bort.git
synced 2026-10-12 19:13:45 +03:00
changed backend port to be 5005
This commit is contained in:
@@ -4,7 +4,7 @@ import cors from "cors";
|
||||
import { queryTripsFromStopById } from "./query";
|
||||
|
||||
|
||||
const PORT: number = 5000;
|
||||
const PORT: number = 5005;
|
||||
|
||||
|
||||
const api = express();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const baseUrl = "http://localhost:5000";
|
||||
const baseUrl = "http://localhost:5005";
|
||||
|
||||
export const getTimes = async () => {
|
||||
const response = await fetch(baseUrl + "/bus");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const baseUrl = "http://localhost:5000";
|
||||
const baseUrl = "http://localhost:5005";
|
||||
|
||||
export const getTimes = async () => {
|
||||
const response = await fetch(baseUrl + "/tram");
|
||||
|
||||
Reference in New Issue
Block a user