Skip to content

Commit

Permalink
testing new API key
Browse files Browse the repository at this point in the history
  • Loading branch information
EXG13 committed Feb 3, 2024
1 parent 6f5d1d6 commit 8a732b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const Home = () => {
.get(
// "https://newsapi.org/v2/everything?q=Crypto&from=2024-01-25&sortBy=popularity&apiKey=2ec4ed69665f4fc38dd8b2187b111b1e"
// "https://newsapi.org/v2/everything?q=blockchain&apiKey=2ec4ed69665f4fc38dd8b2187b111b1e"
"https://newsapi.org/v2/everything?q=blockchain&domains=cointelegraph.com,coindesk.com&sortBy=publishedAt&apiKey=2ec4ed69665f4fc38dd8b2187b111b1e"
// "https://newsapi.org/v2/everything?q=blockchain&domains=cointelegraph.com,coindesk.com&sortBy=publishedAt&apiKey=2ec4ed69665f4fc38dd8b2187b111b1e"
"https://newsapi.org/v2/everything?q=blockchain&domains=cointelegraph.com,coindesk.com&sortBy=publishedAt&apiKey=4251ef972bb444f0a71351bb4f4a7018"
)
.then((res) => {
setMainArticle([res.data.articles[0]]);
Expand Down

0 comments on commit 8a732b2

Please sign in to comment.