Skip to content

Commit 3696bf2

Browse files
committed
Merge branch 'main' of https://github.com/Open-STEM/XRPWeb into rishi-dashboard
2 parents e67a62a + 8461a40 commit 3696bf2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { GoogleOAuthProvider } from '@react-oauth/google';
88

99
function Root() {
1010
const [googleClientId, setGoogleClientId] = useState<string | null>(null);
11-
const googleAuthBackendUrl = import.meta.env.GOOGLE_AUTH_URL;
11+
const googleAuthBackendUrl = import.meta.env.VITE_GOOGLE_AUTH_URL;
1212

1313
useEffect(() => {
1414
const fetchClientId = async () => {

src/services/google-auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GoogleAuthService {
3838

3939

4040
constructor() {
41-
this._googleAuthBackendUrl = import.meta.env.GOOGLE_AUTH_URL;
41+
this._googleAuthBackendUrl = import.meta.env.VITE_GOOGLE_AUTH_URL;
4242
this._userProfile = { id: '', email: '', name: '', picture: '' };
4343
this.initHandshake(); // Initiate handshake on service creation
4444
}

0 commit comments

Comments
 (0)