deployment url change

This commit is contained in:
Sibunnayak 2024-09-23 12:14:32 +05:30
parent a087939b25
commit 85aafe181c
2 changed files with 9 additions and 9 deletions

View File

@ -138,6 +138,13 @@ const _nav = [
to: "/orders/new",
group: "Orders",
},
{
component: CNavItem,
name: "Pending",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/Pending",
group: "Orders",
},
// {
// component: CNavItem,
// name: "Paid",
@ -165,13 +172,6 @@ const _nav = [
to: "/orders/delivered",
group: "Orders",
},
{
component: CNavItem,
name: "Pending",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/Pending",
group: "Orders",
},
{
component: CNavItem,
name: "Cancelled",

View File

@ -15,9 +15,9 @@ import { cibGmail } from "@coreui/icons";
import { createRoot } from "react-dom/client";
const setupAxios = () => {
axios.defaults.baseURL = "http://localhost:5000";
// axios.defaults.baseURL = "http://localhost:5000";
// axios.defaults.baseURL = "https://cheminova-api-2.onrender.com";
// axios.defaults.baseURL = "https://api.cnapp.co.in";
axios.defaults.baseURL = "https://api.cnapp.co.in";
axios.defaults.headers = {
"Cache-Control": "no-cache,no-store",