i got this stylesheet that is inside my tags of a webpage. (not a css-file because this is the only file it will ever be used in).
background-image: url("/assets/img/report/test4.png");
My background-image url doesnt include the port number for the host when using relative url.
Example:
Works:
localhost:8334/assets/img/report/test4.png
Does not work, and is the output of relative url:
localhost/assets/img/report/test4.png
Any idea why its not including the port number?