Skip to content

Commit

Permalink
fix: use full baseurl if not development
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopr committed Jun 7, 2023
1 parent ac38ebc commit d5be1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/client/src/lib/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export const api = axios.create({
baseURL:
process.env.NODE_ENV === "development"
? "http://127.0.0.1:5000/api/v1"
: "/server/api/v1"
: "https://visualdynamics.fiocruz.br/server/api/v1"
});

0 comments on commit d5be1d6

Please sign in to comment.