Skip to content

Commit

Permalink
fix(app): use ceramic client url for self.id Provider
Browse files Browse the repository at this point in the history
use NEXT_PUBLIC_CERAMIC_CLIENT_URL as self.id Provider configuration, defaults to "testnet-clay"
(community node)

[passportxyz#220]
  • Loading branch information
shavinac committed Jun 17, 2022
1 parent 7618b01 commit a7429a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function MyApp({ Component, pageProps }: AppProps) {
<title>Gitcoin Passport</title>
{facebookSdkScript}
</Head>
<Provider client={{ ceramic: "testnet-clay" }} session={true}>
<Provider client={{ ceramic: `${process.env.NEXT_PUBLIC_CERAMIC_CLIENT_URL || "testnet-clay"}` }} session={true}>
<UserContextProvider>
<ChakraProvider>
<div suppressHydrationWarning>{typeof window === "undefined" ? null : <Component {...pageProps} />}</div>
Expand Down

0 comments on commit a7429a1

Please sign in to comment.