The code below works only if the image is located here: "E:\Test\wwwroot\thumbnails\test.png"
<div style="background-image:url('/thumbnails/test.png');height:100%;background-size: cover;"></div>
But that code can't find the image if the image is located here instead when running in Visual Studio: "E:\Test\bin\Debug\net6.0\wwwroot\thumbnails\test.png"
The problem is that I generate images and they are put inside the wwwroot/thumbnails folder but Blazor Server can't find any images in the bin/debug directory... It only works if I put them into the source directory.