From bd4d5e5929f42e25b3ae18b6cb4c4808fac23a26 Mon Sep 17 00:00:00 2001 From: Anthea Yur Date: Fri, 1 Mar 2024 11:59:56 -0600 Subject: [PATCH] Wrong uri --- src/components/NavBar/NavBar.js | 2 +- src/components/apollo-client/apollo-client.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/NavBar/NavBar.js b/src/components/NavBar/NavBar.js index bbacd4b8..9fe0f737 100644 --- a/src/components/NavBar/NavBar.js +++ b/src/components/NavBar/NavBar.js @@ -13,7 +13,7 @@ import ExportIcon from '../../assets/icons/export-icon.svg' const NavBar = ({userName, onToggle, theme}) => { //Function for handling CSV Export const handleExport = () => { - window.location.href = 'https://dough-fin-fe-deploy.vercel.app/users/export'; + window.location.href = 'https://doughfin-be-q7yq.onrender.com/users/export'; }; return ( diff --git a/src/components/apollo-client/apollo-client.js b/src/components/apollo-client/apollo-client.js index 6554c3c9..19e14b2d 100644 --- a/src/components/apollo-client/apollo-client.js +++ b/src/components/apollo-client/apollo-client.js @@ -2,8 +2,8 @@ import { ApolloClient, InMemoryCache, createHttpLink } from "@apollo/client"; import { setContext } from "@apollo/client/link/context"; const httpLink = createHttpLink({ - // uri: "https://doughfin-be-q7yq.onrender.com/graphql", - uri: "http://localhost:3000/graphql" + uri: "https://doughfin-be-q7yq.onrender.com/graphql", + // uri: "http://localhost:3000/graphql" }); const customHeaders = setContext((_, { headers }) => {