My .css link : http://localhost/BimserViewerUI/viewer/resources/e89d08b6-9077-43c1-817a-8d8859baf0e0_docx/p1_s.css
My .woff linl: http://localhost/BimserViewerUI/viewer/resources/e89d08b6-9077-43c1-817a-8d8859baf0e0_docx/p1_f.woff
Unable to load “.woff”. Because return link from groupdocs is false
wrong link: “.woff” link http://localhost/BimserViewerUI/viewer/resources/e89d08b6-9077-43c1-817a-8d8859baf0e0_docx/viewer/resources/e89d08b6-9077-43c1-817a-8d8859baf0e0_docx/p1_f.woff
The fourth screenshot shows the place where the resource URL is generated. It seems that the srting that is assigned to the urlPrefix variable should not start with the . (dot) character. Also, please make sure to remove previously generated cache files.
There are a couple of possible solutions here that I can see:
Generate different URLs for resources based on Resource object property bool Nested {get;} that indicates whether resource resides inside another resource, e.g. font resource that resides in CSS or SVG resource.
public string CreateResourceUrl(int pageNumber, Resource resource)
{
//TODO: decide on resource URL using `resource.FileName` and `resource.Nested`
Console.WriteLine($"Resource: {resource.FileName}, Nested: {resource.Nested} ");
var url = $"./test/p_{pageNumber}_{resource.FileName}";
return url;
}