Skip to content

Commit

Permalink
feat: add market data endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ns212 committed Jun 20, 2024
1 parent bb0285f commit 5014592
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/evm/api/marketdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export const config = {
};

export default async (request) => {
console.log('URL', request.url)
const url = 'https://api.coingecko.com/api/v3/simple/price?' + new URL(request.url).searchParams
const cgResp = await fetch(url, { headers: { "accept": "application/json" } })
if (!cgResp.ok) {
Expand Down

0 comments on commit 5014592

Please sign in to comment.