Loading certain resource intensive pages on my website lead to 404 on netlify

Not sure where to ask this but the build of the website is fine. The issue comes to loading pages on my website such as:

Page Not Found (cccsolutions.netlify.app)

They run perfectly fine locally, but usually load a lot of data from files stored on my computer (many different txt files). Does netlify just give page not found if the page takes too long to load in? I’m already noticing bad load times even on the solutions page compared to locally.

Below is the repo for the website I have deployed:

Tankman61/mmhs-website: Website re-design for Milliken Mills High School. Currently focusing on redesigning https://mmhs.ca/ccc/, and possibly moving on with other parts of the website. (github.com)

and here is the code for as to how pages like the one I have posted above are loaded: mmhs-website/frontend-react/mmhs-website/src/components/Solution.jsx at main · Tankman61/mmhs-website (github.com).

I just don’t really understand why this wouldn’t work on the deployed version. Also, all txt files I’m getting data from are in the public folder.

@Tankman61 I don’t believe the issue is what you think it is.

It should be solved by my post here:

Additional detailed explanation here:

2 Likes