We’ve deployed a Nuxt 3 app to Cloudflare pages. All seems to be working great; however, internal pages are returning a 404 (despite rendering in the browser).
curl -I https://www.<snip>.ie
HTTP/2 200
date: Wed, 27 Sep 2023 15:21:58 GMT
content-type: text/html; charset=utf-8
access-control-allow-origin: *
cache-control: public, max-age=0, must-revalidate
link: </_nuxt/entry.efbdd18f.css>; rel="preload"; as=style
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=i1Dc4tB4IcIyUFBLtjv02Eeagc7R5AUeVOZl0%2FRToqARrXcm14j7HgO%2F4pod92%2FR%2BKhNZ5WVe8JElwOh%2FSPpCXiwB%2BJaQHr%2FTMJen9YmlnDXl4Ioc29vxpNsultu2WD8Xg0%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
vary: Accept-Encoding
cf-cache-status: DYNAMIC
server: cloudflare
cf-ray: 80d4bd4ecdc5527d-LHR
`curl -I https://www.<snip>.ie/tractors`
HTTP/2 404
date: Tue, 26 Sep 2023 09:19:12 GMT
content-type: text/html; charset=utf-8
access-control-allow-origin: *
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=mutAjdn1gs2u4%2Bs3tK5AgZkqkIiz69pUKBXZ4fKzybH727ol7ralX0ooTS0spFFGiwMdu%2F0bgrietgeYlmzxkEFMbbPOIST%2BX8YcD1XW3%2FP6C8wT1LGEMFSrbBLT9a%2FOQTQ%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
vary: Accept-Encoding
cf-cache-status: DYNAMIC
server: cloudflare
cf-ray: 80ca6c888c11743b-LHR
But https://www.<snip>.ie/tractors
still works in the browser!
Has anyone come across this before?