Unexpected VitePress behavior with custom domain
Domains: https://blog-4xo.pages.dev/ https://blog.chai.ac.cn/
Deployment ID: c8278a14
Account ID: 1c94f6cf29a7a8d3e7199ce0b7fc617b
My website works fine on
pages.dev
, but for alias (custom) domain, behavior changes.
Each page contained Content
part which is generated from source .md
file. For pages on alias domain , the content part will be rendered twice. If you turn to other pages, the former rendered content will remain one part.Util you refresh the page, then render new content twice again. I could not reproduce it on my local developing env. Why does it happen on custom domain. Is something different with pages.dev
:NotLikeThis:1 Reply
After disable proxy in website's DNS setting, custom domain's content display correctly.