Skip to content

Commit

Permalink
chore: link env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
esaminu committed Sep 21, 2023
1 parent 811a0d4 commit 7452f68
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ export const networks: Record<NetworkId, Network> = {
nodeUrl: 'https://rpc.mainnet.near.org',
walletUrl: 'https://wallet.near.org',
helperUrl: 'https://helper.mainnet.near.org',
relayerUrl: 'https://near-relayer-mainnet.api.pagoda.co/relay',
relayerUrl: process.env.RELAYER_URL || 'https://near-relayer-mainnet.api.pagoda.co/relay',
explorerUrl: 'https://explorer.near.org',
fastAuth: {
mpcRecoveryUrl: 'https://mpc-recovery-leader-mainnet-cg7nolnlpa-ue.a.run.app',
authHelperUrl: 'https://api.kitwallet.app',
accountIdSuffix: 'near',
firebase: {
apiKey: 'AIzaSyDhxTQVeoWdnbpYTocBAABbLULGf6H5khQ',
authDomain: 'near-fastauth-prod.firebaseapp.com',
projectId: 'near-fastauth-prod',
storageBucket: 'near-fastauth-prod.appspot.com',
messagingSenderId: '829449955812',
appId: '1:829449955812:web:532436aa35572be60abff1',
measurementId: 'G-T2PPJ8QRYY',
apiKey: process.env.FIREBASE_API_KEY || 'AIzaSyDhxTQVeoWdnbpYTocBAABbLULGf6H5khQ',
authDomain: process.env.FIREBASE_AUTH_DOMAIN || 'near-fastauth-prod.firebaseapp.com',
projectId: process.env.FIREBASE_PROJECT_ID || 'near-fastauth-prod',
storageBucket: process.env.FIREBASE_STORAGE_BUCKET || 'near-fastauth-prod.appspot.com',
messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID || '829449955812',
appId: process.env.FIREBASE_APP_ID || '1:829449955812:web:532436aa35572be60abff1',
measurementId: process.env.FIREBASE_MEASUREMENT_ID || 'G-T2PPJ8QRYY',
},
},
},
Expand All @@ -30,20 +30,20 @@ export const networks: Record<NetworkId, Network> = {
nodeUrl: 'https://rpc.testnet.near.org',
walletUrl: 'https://wallet.testnet.near.org',
helperUrl: 'https://helper.testnet.near.org',
relayerUrl: 'http://34.70.226.83:3030/relay',
relayerUrl: process.env.RELAYER_URL_TESTNET || 'http://34.70.226.83:3030/relay',
explorerUrl: 'https://explorer.testnet.near.org',
fastAuth: {
mpcRecoveryUrl: 'https://mpc-recovery-leader-testnet-cg7nolnlpa-ue.a.run.app',
authHelperUrl: 'https://testnet-api.kitwallet.app',
accountIdSuffix: 'testnet',
firebase: {
apiKey: 'AIzaSyDAh6lSSkEbpRekkGYdDM5jazV6IQnIZFU',
authDomain: 'pagoda-oboarding-dev.firebaseapp.com',
projectId: 'pagoda-oboarding-dev',
storageBucket: 'pagoda-oboarding-dev.appspot.com',
messagingSenderId: '116526963563',
appId: '1:116526963563:web:053cb0c425bf514007ca2e',
measurementId: 'G-HF2NBGE60S',
apiKey: process.env.FIREBASE_API_KEY_TESTNET || 'AIzaSyDAh6lSSkEbpRekkGYdDM5jazV6IQnIZFU',
authDomain: process.env.FIREBASE_AUTH_DOMAIN_TESTNET || 'pagoda-oboarding-dev.firebaseapp.com',
projectId: process.env.FIREBASE_PROJECT_ID_TESTNET || 'pagoda-oboarding-dev',
storageBucket: process.env.FIREBASE_STORAGE_BUCKET_TESTNET || 'pagoda-oboarding-dev.appspot.com',
messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID_TESTNET || '116526963563',
appId: process.env.FIREBASE_APP_ID_TESTNET || '1:116526963563:web:053cb0c425bf514007ca2e',
measurementId: process.env.FIREBASE_MEASUREMENT_ID_TESTNET || 'G-HF2NBGE60S',
},
},
},
Expand Down

0 comments on commit 7452f68

Please sign in to comment.