From 701cb562950f0bc80c6f35cee1a9a1d15e2affbe Mon Sep 17 00:00:00 2001 From: LahariReddyMuthyala Date: Fri, 8 Nov 2024 22:47:35 -0800 Subject: [PATCH] update base URL --- package.json | 1 + src/App.tsx | 6 +++--- src/services/authService.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 63b7326..b649e55 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "collaborators-portal", "version": "0.1.0", "private": true, + "homepage": "https://npnl.github.io/collaborators-directory", "dependencies": { "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", diff --git a/src/App.tsx b/src/App.tsx index 8e7db1e..630bcff 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,4 @@ -import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; +import { BrowserRouter as Router, Routes, Route, BrowserRouter } from "react-router-dom"; import Navbar from "./components/Navbar"; import Login from "./components/Login"; import CompleteSignIn from "./components/CompleteSignIn"; @@ -71,7 +71,7 @@ const App: React.FC = () => { }, []); return ( - +
@@ -82,7 +82,7 @@ const App: React.FC = () => { } />
-
+ ); }; diff --git a/src/services/authService.ts b/src/services/authService.ts index 46c5ac0..57b2580 100644 --- a/src/services/authService.ts +++ b/src/services/authService.ts @@ -7,7 +7,7 @@ import { } from "firebase/auth"; const actionCodeSettings = { - url: window.location.origin + "/complete-sign-in", + url: window.location.origin + "/collaborators-directory/complete-sign-in", handleCodeInApp: true, };