use endpoint env variable

This commit is contained in:
Tyler Shipe 2021-08-25 11:12:33 -04:00
parent 4c8fb646f8
commit e95f67c3b5
2 changed files with 1 additions and 1 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -18,7 +18,7 @@ import SpotMarketStats from "../models/spot_market_stats"
const CLUSTER_URLS = [
{
name: "mainnet",
url: "https://mango.rpcpool.com/",
url: process.env.ENDPOINT || "https://mango.rpcpool.com/",
websocket: "https://mango.rpcpool.com/",
},
{