Skip to content

Commit

Permalink
Update CryptoRequests.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyurGK authored Apr 19, 2023
1 parent eb3d394 commit b6dfaba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CryptoRequests.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import axios from "axios";

const API_KEY = '4d100bb424mshaaaecf4bd1066f5p1b5cb0jsn7cc8632e6b51';

const BASE_URL = 'https://coinranking1.p.rapidapi.com/coins';

const crypto_api = axios.create({
baseURL: BASE_URL,
headers: {
"x-rapidapi-host": 'coinranking1.p.rapidapi.com',
"x-rapidapi-key": process.env.CRYPTO_API_KEY,
"x-rapidapi-key": API_KEY,
},
});

Expand Down

1 comment on commit b6dfaba

@vercel
Copy link

@vercel vercel bot commented on b6dfaba Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bitvishwa – ./

bitvishwa-git-master-keyurgk.vercel.app
bitvishwa.vercel.app
bitvishwa-keyurgk.vercel.app

Please sign in to comment.