Skip to content

Commit

Permalink
Changed NEO API URL to fix #2306
Browse files Browse the repository at this point in the history
  • Loading branch information
Nargacaura authored and BastLast committed Nov 23, 2023
1 parent 89668ea commit bedd32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils/SpaceUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class SpaceUtils {
return Promise.resolve({length: this.cachedNeoFeed.length, near_earth_objects: this.cachedNeoFeed});
}
return new Promise((resolve) => {
https.get(`https://api.nasa.gov/neo/rest/v1/feed?start_date=${today}&end_date=${today}&api_key=${apiKey}`, res => {
https.get(`https://www.neowsapp.com/rest/v1/feed/today?api_key=${apiKey}`, res => {
let data = "";
res.on("data", chunk => {
data += chunk;
Expand Down

0 comments on commit bedd32f

Please sign in to comment.