Issue with Workers app not rendering correctly with route

So for the past few days, I have been trying to get a NextJS project to render correctly once it was passed through a route.

The issue that I am running into is that it will load fine on the Workers dev site side, but as soon as I add a route to it, the page does load, but it renders just the HTML with no other resources. It just gives a 404 for the main document.

Here is the workers dev site version:
Here is the routed version of the same project:

I really cannot come up with anything that I can even troubleshoot. I have read through the docs, and tried adjusting the toml file, which broke stuff more. I am definitely a newbie when it comes to workers, so any input or other things that I should check would be greatly appreciated.

Your assets are all returning the index page. Could you share your code for this?

Hi Walshy!

Here is the GitHub repo: GitHub - luckymayokashi/ShopTalk: The official blog of StockWiseAuto

Let me know if you need anything else.