Prodution URL not working, but deployment URL is working

I have created a very basic blog with SvelteKit and pushed to GitHub. After deploying to Cloudflare Pages without issues, the deployment URL shows the blog, but the production URL shows ‘page not found’. What can possibly cause this behavior?

Can you share both URLs?

The issue was resolved by setting Node version 16 instead of Node version 18 through environment variables, adding a single word to sample blog text and redeploy. If this node version was indeed the issue, then I still don’t know why it was working on deployment url, but not on production url.