Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/connect/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ VITE_HYPERGRAPH_CHAIN="geo-testnet"
VITE_HYPERGRAPH_API_URL="https://hypergraph-v2-testnet.up.railway.app/graphql"
VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-test-zc16z3tcvf.t.conduit.xyz"
VITE_PRIVY_APP_ID="cmbhnmo1x000bla0mxudtd8z9"
VITE_PRIVY_PROVIDERS="development"
# VITE_HYPERGRAPH_CHAIN="geogenesis"
# VITE_HYPERGRAPH_API_URL="https://hypergraph-v2.up.railway.app/graphql"
# VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-genesis-h0q2s21xx8.t.conduit.xyz"
3 changes: 2 additions & 1 deletion apps/connect/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://syncserver.hypergraph.thegraph.com"
VITE_HYPERGRAPH_CHAIN="geo-testnet"
VITE_HYPERGRAPH_API_URL="https://hypergraph-v2-testnet.up.railway.app/graphql"
VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-test-zc16z3tcvf.t.conduit.xyz"
VITE_PRIVY_APP_ID="cmcccikza007bjy0niawgutl0"
VITE_PRIVY_APP_ID="cmcccikza007bjy0niawgutl0"
VITE_PRIVY_PROVIDERS="production"
1 change: 1 addition & 0 deletions apps/connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"prettier-plugin-tailwindcss": "^0.6.13",
"tailwindcss": "^4.1.10",
"unplugin-fonts": "^1.3.1",
"vite-plugin-node-polyfills": "^0.23.0",
"vite-plugin-svgr": "^4.3.0"
}
}
2 changes: 1 addition & 1 deletion apps/connect/src/Boot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function Boot() {
<PrivyProvider
appId={import.meta.env.VITE_PRIVY_APP_ID}
config={{
loginMethods: ['email', 'google'],
loginMethods: import.meta.env.VITE_PRIVY_PROVIDERS === 'development' ? ['email', 'google'] : ['email'],
appearance: {
theme: 'light',
accentColor: '#6833ff',
Expand Down
8 changes: 8 additions & 0 deletions apps/connect/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { TanStackRouterVite } from '@tanstack/router-plugin/vite';
import react from '@vitejs/plugin-react';
import unfonts from 'unplugin-fonts/vite';
import { defineConfig } from 'vite';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
import svgr from 'vite-plugin-svgr';

// https://vitejs.dev/config/
Expand All @@ -12,6 +13,13 @@ export default defineConfig({
port: 5180,
},
plugins: [
nodePolyfills({
protocolImports: true,
globals: {
Buffer: true,
},
include: ['buffer'],
}),
TanStackRouterVite(),
react(),
tailwindcss(),
Expand Down
Loading
Loading