Skip to content

Commit

Permalink
chore: use VERCEL_URL in staging environment
Browse files Browse the repository at this point in the history
Signed-off-by: Miles Zhang <[email protected]>
  • Loading branch information
zmcNotafraid committed Mar 20, 2024
1 parent 4fa8914 commit 928dab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
API_URL: process.env.REACT_APP_API_URL || 'http://localhost:3000',
CHAIN_TYPE: process.env.REACT_APP_CHAIN_TYPE || 'mainnet',
BASE_URL: process.env.REACT_APP_BASE_URL || 'explorer.nervos.org/',
BASE_URL: process.env.REACT_APP_BASE_URL ?? process.env.VERCEL_URL,
BACKUP_NODES: process.env.REACT_APP_BACKUP_NODES?.split(',') || [],
}

0 comments on commit 928dab0

Please sign in to comment.