Different behavior between pages.dev and alias custom domain

I’m using VitePress framework on Cloudflare Pages and met problems with customed domain.

The website has built and deployed successfully on .pages.dev domain and setting alias for customed domain: https://blog.chai.ac.cn/ . But the behavior custom domain is really strange.

  1. The content part will be rendered twice,

  1. If you turn to other pages, the former rendered content will remain one part.
  2. Util you refresh the page, then render new content twice again.

I could not reproduce it on my local developing enviroment not matter setting dev or build .
Everything on default .pages.dev is fine, what happened with alias customed doamin? That makes me so confused.

Disable correspond CNAME DNS proxy could solve this problem

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.