From 6c9f3035b84b6dc0645796c5c4dd90d92cd51970 Mon Sep 17 00:00:00 2001 From: Youjeong Park Date: Sun, 12 Mar 2023 14:53:10 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20add=20axios=20server=20axios=20serve?= =?UTF-8?q?r=20=EC=97=B0=EC=8A=B5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #resolving : #11 #ref : #1 --- host/src/bootstrap.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/host/src/bootstrap.tsx b/host/src/bootstrap.tsx index d8105e6..f801b0c 100644 --- a/host/src/bootstrap.tsx +++ b/host/src/bootstrap.tsx @@ -4,6 +4,9 @@ import App from "./App"; import reportWebVitals from "./reportWebVitals"; import "./index.css"; import { BrowserRouter } from "react-router-dom"; +import axios from "axios"; +axios.defaults.baseURL = "http://localhost:8123"; // 임시 서버 +axios.defaults.withCredentials = true; const root = ReactDOM.createRoot( document.getElementById("root") as HTMLElement