File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ import Card from './Card'
3
3
4
4
const Login = ( ) => (
5
5
< Card classes = "flex justify-center" >
6
- < a href = { encodeURI ( process . env . O_AUTH_REDIRECTION_URL as string ) } >
6
+ < a
7
+ href = { encodeURI ( process . env . NEXT_PUBLIC_O_AUTH_REDIRECTION_URL as string ) }
8
+ >
7
9
< Button > Login with github</ Button >
8
10
</ a >
9
11
</ 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 = process . env . API_ENDPOINT as string
13
+ const HTTP_ENDPOINT = process . env . NEXT_PUBLIC_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