Cloudflare Pages - When loading CSS, index.html is returned instead with custom domain

Hello Everyone,

I’ve deployed a static website using Cloudflare Pages:

I have followed the instructions to setup my custom domain,
Yet, when loading, a weird issue happens:

  • The CSS file is loaded but the index.html page is returned in it’s place.

I have tried to add a 404.html so it’s not considered an SPA.

What am I missing here ?


For anyone who has the same issue. I waited 12 hours and it suddenly started to work as expected.
I have no idea why, but I was maybe too impatient and some DNS magic happened while I was sleeping

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