Skip to content

Commit

Permalink
fix: update binance url to avoid geolocation restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
Myphz committed Jan 5, 2023
1 parent 07287ef commit b019a9e
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 62 deletions.
156 changes: 96 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-rate-limit": "^6.4.0",
"jsonwebtoken": "^8.5.1",
"jsonwebtoken": "^9.0.0",
"mongodb-memory-server": "^8.7.0",
"mongoose": "^6.4.6",
"node-fetch": "^3.2.10",
Expand Down
2 changes: 1 addition & 1 deletion src/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const COOKIE_OPTS = {

export const SALT_ROUNDS = 10;

export const BINANCE_BASE_URL = "https://api.binance.com/api/v3/";
export const BINANCE_BASE_URL = "https://data.binance.com/api/v3/";
export const COINMARKETCAP_BASE_URL = "https://pro-api.coinmarketcap.com/v1/cryptocurrency/";
export const GATEIO_BASE_URL = "https://www.gate.io/images/coin_icon/64/";
export const COINMARKETCAP_API_KEY = process.env.COINMARKETCAP_API_KEY || "53e03511-90dc-41eb-8521-e30e6a353f7c";
Expand Down

0 comments on commit b019a9e

Please sign in to comment.