Skip to content

Commit

Permalink
fix jupiter url (#2301)
Browse files Browse the repository at this point in the history
  • Loading branch information
abrzezinski94 committed May 14, 2024
1 parent b107d81 commit 0ecb1c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DEVNET_RPC=https://mango.devnet.rpcpool.com

DEFAULT_GOVERNANCE_PROGRAM_ID=GTesTBiEWE32WHXXE2S4XbZvA5CrEc4xs6ZgRe895dP

NEXT_PUBLIC_JUPTER_SWAP_API_ENDPOINT=https://public.jupiterapi.com
NEXT_PUBLIC_JUPTER_SWAP_API_ENDPOINT=https://quote-api.jup.ag/v6
NEXT_PUBLIC_API_ENDPOINT=https://api.realms.today/graphql
NEXT_PUBLIC_DISCORD_APPLICATION_CLIENT_ID=1042836142560645130
NEXT_PUBLIC_DISCORD_MATCHDAY_CLIENT_ID=1044361939322683442
Expand Down
2 changes: 1 addition & 1 deletion utils/Mango/listingTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ const fetchJupiterRoutes = async (

const jupiterSwapBaseUrl =
process.env.NEXT_PUBLIC_JUPTER_SWAP_API_ENDPOINT ||
'https://public.jupiterapi.com'
'https://quote-api.jup.ag/v6'
const response = await fetch(
`${jupiterSwapBaseUrl}/quote?${paramsString}`
)
Expand Down

0 comments on commit 0ecb1c4

Please sign in to comment.