From 84e7a0edd0699eac20095fa209b7447886f17b27 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Fri, 14 Jun 2024 15:33:12 +0200 Subject: [PATCH] check url --- frontend/app/components/Login/GoogleLogin.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Login/GoogleLogin.tsx b/frontend/app/components/Login/GoogleLogin.tsx index 24b417df5..e1b7133ff 100644 --- a/frontend/app/components/Login/GoogleLogin.tsx +++ b/frontend/app/components/Login/GoogleLogin.tsx @@ -3,7 +3,7 @@ import React from 'react'; function GoogleLogin({ isLogin }: { isLogin?: boolean }) { console.log(window.env, window.env.API_EDP) - const rootUrl = window.env.API_EDP ?? 'https://ee.openreplay.tools/api' + const rootUrl = window.env.API_EDP || 'https://ee.openreplay.tools/api' return (