I have developed an application that allows file uploads and downloads with ASP.NET Core Web app (razor pages not controllers). In this app, I am setting a background image on each page as globally it doesn't work but something strange is happening with it.
On Initial login, the homepage background shows fine(see first image), but as soon as you switch to a different page and go back, its like it loses part of its URL? The original URL for the site image on initial login was http://ip.address/PORTAL/hero-range-1.jpg but when switching pages its like it loses the /PORTAL/ part? (see second image)
background-image: url('hero-range-1.jpg
I would usebackground-image: url("http://ipaddress/PORTAL/hero-range-1.jpg")
?