diff --git a/client/src/config/baseUrl.ts b/client/src/config/baseUrl.ts index 845c0499..512ea6ef 100644 --- a/client/src/config/baseUrl.ts +++ b/client/src/config/baseUrl.ts @@ -1,4 +1,3 @@ - export const BASE_URL = "https://abinvarghese.online/api/v1" // export const BASE_URL = "https://devhive.dev/api/v1" \ No newline at end of file diff --git a/client/src/config/socket.ts b/client/src/config/socket.ts index 077d9126..91503941 100644 --- a/client/src/config/socket.ts +++ b/client/src/config/socket.ts @@ -1,6 +1,7 @@ import { io, Socket } from "socket.io-client"; + const socket: Socket = io("https://abinvarghese.online", { transports: ["websocket"], path: "/api/v1/chat/socket.io", diff --git a/client/src/routes/AdminRoutes.tsx b/client/src/routes/AdminRoutes.tsx index 27b82aeb..543fcdb0 100644 --- a/client/src/routes/AdminRoutes.tsx +++ b/client/src/routes/AdminRoutes.tsx @@ -36,7 +36,7 @@ const PremiumMembershipPage = lazy( ); const PaymentsListPage = lazy( - () => import("../pages/Error/NotFound") + () => import("../pages/payment/PaymentsListPage") ); const AdminDashBoard = lazy( @@ -167,7 +167,7 @@ function AdminRoutes() { path="/payments" element={ isAdminLoggedIn ? ( - + ) : ( )