Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivozilkenat committed Apr 6, 2024
2 parents 1283ff3 + 38176c1 commit 8267064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/RealtimeMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function RealtimeMap() {
const hostname = window.location.hostname;
const protocol = window.location.protocol;
const port = hostname === "localhost" ? "3001" : "443";
fetch(`${protocol}//${hostname}:${port}/api/trips`, {
fetch(`${protocol}//${hostname}:${port}/api/trips/`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 8267064

Please sign in to comment.