Skip to content

Commit

Permalink
Revert "Remove duplicate /api path segment, required to make Socket.i…
Browse files Browse the repository at this point in the history
…o work"

We will change Apache config instead, so that it work with localhost in development
  • Loading branch information
rogup committed Apr 4, 2024
1 parent 1b9d970 commit af1ee26
Show file tree
Hide file tree
Showing 6 changed files with 312 additions and 345 deletions.
2 changes: 1 addition & 1 deletion src/queries/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ export const createPublicMapView = async (mapId: number): Promise<string> => {
});
}

return `/public/map/${mapId}`;
return `/api/public/map/${mapId}`;
};

export const createUserFeedback = async (
Expand Down
Loading

0 comments on commit af1ee26

Please sign in to comment.