-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from moyeothon/develop
Fix
- Loading branch information
Showing
4 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
import axios, { AxiosRequestConfig } from "axios"; | ||
|
||
const axiosConfig: AxiosRequestConfig = { | ||
baseURL: "", | ||
baseURL: "https://port-0-f4-back-m30e9x2h74f3a212.sel4.cloudtype.app/", | ||
withCredentials: false, | ||
// false를 통해 cross domain request 시 HTTP 인증 및 클라이언트 SSL 인증서 사용 허용 | ||
headers: { | ||
"Content-Type": "application/json", | ||
}, | ||
}; | ||
|
||
export const client = axios.create(axiosConfig); | ||
export const instance = axios.create(axiosConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters