webgio / Rotativa.AspNetCore

Rotativa for Asp.Net Core
MIT License
271 stars 121 forks source link

Css Style Not Rendering When My Server Allow Only Https #50

Open karim-alaa opened 4 years ago

karim-alaa commented 4 years ago

I'm using .Net Core 2.2 to generate PDF, but css rendering only when I allow http on my Azure App Service. After some search I discoverd that only local css files unable to load with https: I have tried absolute path and no changes happened, I tried the following forms

Note that stylesheets imported normaly in the home page with the above links, but only when i call ViewAsPDF(), it seems that it call it with only http and not https.

Any advice about that.

Thanks in advance.

Rufistofeles commented 2 years ago

@karim-alaa Did you find any solution to this?