Skip to content

Commit

Permalink
https에서 http로 요청 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
hojeong26 committed Aug 7, 2024
1 parent ba289a1 commit c99bdec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/instance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ const initInstance = (config: AxiosRequestConfig): AxiosInstance => {
return instance;
};

export const BASE_URL = '//52.78.81.37:8080';
export const BASE_URL = 'http://52.78.81.37:8080';
// TODO: 추후 서버 API 주소 변경 필요
export const fetchInstance = initInstance({
baseURL: '//52.78.81.37:8080',
baseURL: 'http://52.78.81.37:8080',
});

export const queryClient = new QueryClient({
Expand Down

0 comments on commit c99bdec

Please sign in to comment.