Commit 8d00247e authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

custom axios로 변경

parent 3b045d9c
import axios from "axios"; import axios from "./axios.config";
import { IAnswer, IAnswerRequestData } from "../types"; import { IAnswer, IAnswerRequestData } from "../types";
import baseUrl from "./baseUrl"; import baseUrl from "./baseUrl";
......
import axios from "axios"; import axios from "./axios.config";
import { SignupUser } from "../types"; import { SignupUser } from "../types";
import baseUrl from "./baseUrl"; import baseUrl from "./baseUrl";
......
import axios from "axios";
const customAxios = axios.create();
export default customAxios;
...@@ -3,3 +3,5 @@ export * as questionApi from "./question.api"; ...@@ -3,3 +3,5 @@ export * as questionApi from "./question.api";
export * as surveyApi from "./survey.api"; export * as surveyApi from "./survey.api";
export * as answerApi from "./answer.api"; export * as answerApi from "./answer.api";
export { baseImageUrl } from "./baseUrl"; export { baseImageUrl } from "./baseUrl";
export { default as customAxios } from "./axios.config";
export { useAxiosInterceptor } from "./useAxiosInterceptor";
import axios from "axios"; import axios from "./axios.config";
import { IQuestionData } from "../types"; import { IQuestionData } from "../types";
import baseUrl from "./baseUrl"; import baseUrl from "./baseUrl";
......
import axios from "axios"; import axios from "./axios.config";
import { CreateQuestionData, IQuestionData, ISurvey } from "../types"; import { CreateQuestionData, IQuestionData, ISurvey } from "../types";
import baseUrl from "./baseUrl"; import baseUrl from "./baseUrl";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment