add env var for endpoint url
This commit is contained in:
parent
54c5cb10e9
commit
e7fb104bfa
|
@ -22,8 +22,8 @@ dayjs.extend(utc)
|
|||
export const ENDPOINTS: EndpointInfo[] = [
|
||||
{
|
||||
name: 'mainnet-beta',
|
||||
url: 'https://mango.rpcpool.com/',
|
||||
websocket: 'https://mango.rpcpool.com/',
|
||||
url: process.env.NEXT_PUBLIC_ENDPOINT || 'https://mango.rpcpool.com/',
|
||||
websocket: process.env.NEXT_PUBLIC_ENDPOINT || 'https://mango.rpcpool.com/',
|
||||
custom: false,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue