Cloudflare Pages 404.html not working on my env


I’m developing SSG page on Cloudflare Pages by Gatsby(v3.0.3).
When I generate pages like

  • /index.html
  • /404.html
  • /404/index.html

Then access to /aaa , it shows garbled characters like attached png file.

When I access to /404.html , it return 308 permanent redirect to /404 .
I don’t understand why it behaves like this.

Ofcourse I know serving pages logic of Cloudflare pages.

Now my Cloudflare Pages shows 404 page without garbled characters.

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