Closed cshimm closed 2 months ago
Hello @cshimm, I'm trying to test your changes on the branch but for some reason I'm getting a CORS error and I can't login nor are any of my events loading: Do you have any idea what could be causing this? I would like to test your awesome changes!
hi @ken-ni I believe that the problem may be specific to your local machine's configuration. Can you provide what your next.config.js file looks like? You need to either run the server locally or have the line NSC_EVENTS_PUBLIC_API_URL: "https://northseattlecollegeevents.com/api",
uncommented out.
resolves #508
Now you should be able to view the event detail page from any page that displays a list of events (home page, archived events, my events)
It should be noted that only the events that were loaded on the page before clicking an event can be accessed via the next and previous buttons. This was the behavior before this fix. I think I could implement a way to cycle through all of the events of each category via the event detail page in a separate issue if necessary.
https://github.com/SeattleColleges/nsc-events-nextjs/assets/13278479/ad942c01-df00-4946-bebe-68b311a99f1f