I have created a simple webpage and deployed to urmel.netlify.app
I have also added a domain and redirected the page to that domain: www.urmel-kinderladen.de
This works fine. However, the two pages look different and the icons are missing.
Does anyone know the reason?
The error, and reason for it (or them as there are multiple) is logged in the developer console
Specifically this is due to the URL/path for asset (CSS/JS) used on the page. An example is
which is using the FQDN in the
src attribute. To overcome the issue, these use paths relative to the domain e.g.
The solution to this is dependent on the framework used to build the site. However, if there is a key such as
publicPath or something similar where you have the value
https://urmel.netlify.app/ changing the value to /` may well remedy this issue.
If you are unable to find the solution, can you share the repository you are deploying from.
Perfect, thanks a lot. Changed baseURL to “/” and now its identical.