I have deployed my react app (created with CRA) to github pages. I have the gh-branch, and everything works fine when deployed without the custom domain.
Then I add my custom domain, and a white page appears. The console shows this:
The network tab shows this:
It seem as if it hits the custom domain fine, and then cannot return the build items. I've searched online and can't find a solution to this specific example.
My dns setup:
As soon as i remove the custom domain it all works fine again.
React scripts:
Homepage definition in package.json:

CNAME file:
Terminal output from the dig command:
Any help / tips deeply appreciated







