Skip to content

Commit

Permalink
Update apiServices.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
curiousyuvi authored May 5, 2023
1 parent 782ae49 commit a112b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/services/apiServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Message } from "../interfaces/Message";
export const apiInstance = axios.create({
baseURL:
process.env.NODE_ENV === "production"
? "https://curie-server-2.up.railway.app/api"
? `${process.env.SERVER_URL}/api`
: "http://localhost:5000/api",
});

Expand Down

0 comments on commit a112b34

Please sign in to comment.