I am not sure why this is happening, I run it locally with npm run dev and it works perfectly, the build goes perfectly on cloudflare, then when I actually go to the site it initially gives a DNS_PROBE_FINISHED_NXDOMAIN error, then goes to HTTP ERROR 404 after like 5 minutes.
I got a whole lotta nothin tbh. Everywhere I look it says that Cloudflare isn't even supposed to give 404 errors.