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'
3
3
4
4
const Login = ( ) => (
5
5
< 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 ) } >
11
7
< Button > Login with github</ Button >
12
8
</ a >
13
9
</ Card >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
10
10
CacheConfig ,
11
11
} from 'relay-runtime'
12
12
13
- const HTTP_ENDPOINT = 'https://api.opensource.forum/v1/graphql'
13
+ const HTTP_ENDPOINT = process . env . API_ENDPOINT as string
14
14
const IS_SERVER = typeof window === typeof undefined
15
15
const CACHE_TTL = 5 * 1000 // 5 seconds, to resolve preloaded results
16
16
You can’t perform that action at this time.
0 commit comments