deployment url change
This commit is contained in:
parent
a087939b25
commit
85aafe181c
14
src/_nav.js
14
src/_nav.js
@ -138,6 +138,13 @@ const _nav = [
|
|||||||
to: "/orders/new",
|
to: "/orders/new",
|
||||||
group: "Orders",
|
group: "Orders",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
component: CNavItem,
|
||||||
|
name: "Pending",
|
||||||
|
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||||
|
to: "/orders/Pending",
|
||||||
|
group: "Orders",
|
||||||
|
},
|
||||||
// {
|
// {
|
||||||
// component: CNavItem,
|
// component: CNavItem,
|
||||||
// name: "Paid",
|
// name: "Paid",
|
||||||
@ -165,13 +172,6 @@ const _nav = [
|
|||||||
to: "/orders/delivered",
|
to: "/orders/delivered",
|
||||||
group: "Orders",
|
group: "Orders",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
component: CNavItem,
|
|
||||||
name: "Pending",
|
|
||||||
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
|
||||||
to: "/orders/Pending",
|
|
||||||
group: "Orders",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
component: CNavItem,
|
component: CNavItem,
|
||||||
name: "Cancelled",
|
name: "Cancelled",
|
||||||
|
@ -15,9 +15,9 @@ import { cibGmail } from "@coreui/icons";
|
|||||||
import { createRoot } from "react-dom/client";
|
import { createRoot } from "react-dom/client";
|
||||||
|
|
||||||
const setupAxios = () => {
|
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://cheminova-api-2.onrender.com";
|
||||||
// axios.defaults.baseURL = "https://api.cnapp.co.in";
|
axios.defaults.baseURL = "https://api.cnapp.co.in";
|
||||||
|
|
||||||
axios.defaults.headers = {
|
axios.defaults.headers = {
|
||||||
"Cache-Control": "no-cache,no-store",
|
"Cache-Control": "no-cache,no-store",
|
||||||
|
Loading…
Reference in New Issue
Block a user