Skip to content

Commit

Permalink
feat : add axios server
Browse files Browse the repository at this point in the history
axios server 연습 추가

#resolving : #11
#ref : #1
  • Loading branch information
YoujeongPark committed Mar 12, 2023
1 parent 3447f9a commit 6c9f303
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions host/src/bootstrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c9f303

Please sign in to comment.