check url

This commit is contained in:
nick-delirium 2024-06-14 15:33:12 +02:00
parent af2c1d1035
commit 84e7a0edd0
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -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 (
<div className={'w-full'}>
<a href={rootUrl + '/signup-oauth'} role={'button'}>