H12M54AM / nasa-apod

The Official Repo for the creation of the APOD redesign project! I'm basically making it look better than the original while giving NASA credit.
https://apod.edwardcreates.ca
MIT License
1 stars 0 forks source link

API not Updating #1

Closed H12M54AM closed 8 months ago

H12M54AM commented 8 months ago

Problem

The data is not updating or syncing with other projects. The source project (NASA), works fine and displays info 1 day ahead near midnight, while this project doesn't even move on to the next date. It's stuck on a Sunday.

Possible Solution

Probably adjust how you pull the data from the API as it might pull once and not again. Changing that may pull every time you refresh, like in getserverprops. Currently, the project is working like getstaticprops.

Screenshot 2024-03-02 at 02 07 04 Screenshot 2024-03-02 at 02 07 27
H12M54AM commented 8 months ago

This error has been resolved by properly implementing the app router method of pulling data from an API. By not using the API folder at all.