We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2180ccd commit 95bc738Copy full SHA for 95bc738
src/components/Login.tsx
@@ -3,7 +3,9 @@ import Card from './Card'
3
4
const Login = () => (
5
<Card classes="flex justify-center">
6
- <a href={encodeURI(process.env.O_AUTH_REDIRECTION_URL as string)}>
+ <a
7
+ href={encodeURI(process.env.NEXT_PUBLIC_O_AUTH_REDIRECTION_URL as string)}
8
+ >
9
<Button>Login with github</Button>
10
</a>
11
</Card>
src/relay/environment.ts
@@ -10,7 +10,7 @@ import {
CacheConfig,
} from 'relay-runtime'
12
13
-const HTTP_ENDPOINT = process.env.API_ENDPOINT as string
+const HTTP_ENDPOINT = process.env.NEXT_PUBLIC_API_ENDPOINT as string
14
const IS_SERVER = typeof window === typeof undefined
15
const CACHE_TTL = 5 * 1000 // 5 seconds, to resolve preloaded results
16
0 commit comments