In GitHub, there are two repositories: one for the source code and another for the static site generated through GitHub Actions (xxxxx.github.io). The site is accessible via xxxxx.github.io and the CSS loads correctly.
However, after configuring a custom domain, the website opens, but the CSS fails to load properly. After initial investigation, it seems to be a cross-origin issue. Actual,I can open the Request URL.