Skip to content

Commit

Permalink
fix the magic url
Browse files Browse the repository at this point in the history
  • Loading branch information
yunho7687 committed Nov 9, 2024
1 parent 0622cdf commit ee47c80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const api = axios.create({ baseURL: process.env.NEXT_PUBLIC_BACKEND_URL });

export default api;

const LocalBaseURL = "http://170.64.220.156:8000/api"; // local use
const LocalBaseURL =
process.env.NEXT_PUBLIC_LOCAL_BASE_URL || "http://localhost:8000/api"; // local use
export { LocalBaseURL };

const axiosInstance = axios.create({
Expand Down

0 comments on commit ee47c80

Please sign in to comment.