Skip to content

Commit b24feed

Browse files
committed
fix providers
1 parent b539149 commit b24feed

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

apps/connect/.env.development

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ VITE_HYPERGRAPH_CHAIN="geo-testnet"
33
VITE_HYPERGRAPH_API_URL="https://hypergraph-v2-testnet.up.railway.app/graphql"
44
VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-test-zc16z3tcvf.t.conduit.xyz"
55
VITE_PRIVY_APP_ID="cmbhnmo1x000bla0mxudtd8z9"
6+
VITE_PRIVY_PROVIDERS="development"
67
# VITE_HYPERGRAPH_CHAIN="geogenesis"
78
# VITE_HYPERGRAPH_API_URL="https://hypergraph-v2.up.railway.app/graphql"
89
# VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-genesis-h0q2s21xx8.t.conduit.xyz"

apps/connect/.env.production

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://syncserver.hypergraph.thegraph.com"
22
VITE_HYPERGRAPH_CHAIN="geo-testnet"
33
VITE_HYPERGRAPH_API_URL="https://hypergraph-v2-testnet.up.railway.app/graphql"
44
VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-test-zc16z3tcvf.t.conduit.xyz"
5-
VITE_PRIVY_APP_ID="cmcccikza007bjy0niawgutl0"
5+
VITE_PRIVY_APP_ID="cmcccikza007bjy0niawgutl0"
6+
VITE_PRIVY_PROVIDERS="production"

apps/connect/src/Boot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function Boot() {
4949
<PrivyProvider
5050
appId={import.meta.env.VITE_PRIVY_APP_ID}
5151
config={{
52-
loginMethods: ['email', 'google'],
52+
loginMethods: import.meta.env.VITE_PRIVY_PROVIDERS === 'development' ? ['email', 'google'] : ['email'],
5353
appearance: {
5454
theme: 'light',
5555
accentColor: '#6833ff',

0 commit comments

Comments
 (0)