File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,7 @@ import Card from './Card'
33
44const Login = ( ) => (
55 < Card classes = "flex justify-center" >
6- < a
7- href = { encodeURI (
8- 'http://api.firstcontributions.com/v1/auth/redirect?origin=http://app.firstcontributions.com'
9- ) }
10- >
6+ < a href = { encodeURI ( process . env . O_AUTH_REDIRECTION_URL as string ) } >
117 < Button > Login with github</ Button >
128 </ a >
139 </ Card >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
1010 CacheConfig ,
1111} from 'relay-runtime'
1212
13- const HTTP_ENDPOINT = 'https://api.opensource.forum/v1/graphql'
13+ const HTTP_ENDPOINT = process . env . API_ENDPOINT as string
1414const IS_SERVER = typeof window === typeof undefined
1515const CACHE_TTL = 5 * 1000 // 5 seconds, to resolve preloaded results
1616
You can’t perform that action at this time.
0 commit comments