1import axios from "axios";
2import React from "react";
3import ReactDOM from "react-dom/client";
4import Page from "./components/Page";
5import "./index.css";
6
7axios.defaults.baseURL = process.env.REACT_APP_API_URL;
8axios.defaults.headers["Content-Type"] = "application/json";
9axios.defaults.withCredentials = true;
10
11const root = ReactDOM.createRoot(
12 document.getElementById("root") as HTMLElement
13);
14
15root.render(
16 <React.StrictMode>
17 <Page />
18 </React.StrictMode>
19);