CSS not working on in custom domain

CSS stylesheet is not working when I wisit the my through the custom domain, but it does load correctly when I visit it through the replit.app link. Any ideas???

Hi @viewcorp !
Is the links for the stylesheet updated to accept the custom domain (if any)?

It shouldn’t be possible for it to not “accept” the domain, it’s just a HTML/CSS/JS Repl.

How did you link your stylesheet? Like this:

<link href="style.css" rel="stylesheet" type="text/css" />

or this:

<link href="https://deployment.replit.app/style.css" rel="stylesheet" type="text/css" />

If you do the first one, it should work.

2 Likes