import "@coreui/coreui/dist/css/coreui.min.css"; import "bootstrap/dist/css/bootstrap.min.css"; import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css"; import "react-app-polyfill/stable"; import "core-js"; import "bootstrap/dist/css/bootstrap.min.css"; import React from "react"; import ReactDOM from "react-dom"; import App from "./App"; import * as serviceWorker from "./serviceWorker"; import { Provider } from "react-redux"; import axios from "axios"; import { store } from "./redux/store"; import { cibGmail } from "@coreui/icons"; import { createRoot } from "react-dom/client"; const setupAxios = () => { // axios.defaults.baseURL = "http://localhost:5000"; ccss // axios.defaults.baseURL = "https://cheminova-api-2.onrender.com"; axios.defaults.baseURL = "https://api.cnapp.co.in"; axios.defaults.headers = { "Cache-Control": "no-cache,no-store", Pragma: "no-cache", Expires: "0", }; }; setupAxios(); const domNode = document.getElementById("root"); const root = createRoot(domNode); // ReactDOM.render( // // // , // document.getElementById("root") // ); root.render( ); // If you want your app to work offline and load faster, you can change // unregister() to register() below. Note this comes with some pitfalls. // Learn more about service workers: http://bit.ly/CRA-PWA serviceWorker.unregister();