Next,js catch all route not working on Cloudflare

can someone help with a next.js issue we are having with a catch-all dynamic route?

we have a folder in pages like


and have these two file:

have also tried /jobs/[…jobid].tsx

you can visit fine

but we get a 404 for any url or similar

any ideas? is this some ssr issue? i would think that catch-all routes wouldnt have an SSR issue??