Why do my Cloudflare Pages Functions work on pages.dev but return 404 on my custom domain?
If it works on `pages.dev`, the deployed Function is probably fine; the custom hostname is usually pointing at the wrong place or hasn’t been attached and activated for that Pages project. In Workers & Pages, open the project’s Custom domains tab and make sure…
0 helpful votes