Skip to content

Commit

Permalink
Fix: Update API routes to end with backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Jan 5, 2024
1 parent efa2e10 commit 019f36b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/routes/routesDefinitions.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const baseAPIUrl: string = "http://127.0.0.1:8000/api";

const apiRoutes = {
upload: `${baseAPIUrl}/upload`,
login: `${baseAPIUrl}/login`,
signup: `${baseAPIUrl}/signup`,
upload: `${baseAPIUrl}/upload/`,
login: `${baseAPIUrl}/login/`,
signup: `${baseAPIUrl}/signup/`,
};

export default apiRoutes;

0 comments on commit 019f36b

Please sign in to comment.