Open hishamco opened 5 years ago
Thanks for your example, it's perfect. I had to change app.UseStaticFiles method by :
app.UseStaticFiles(new StaticFileOptions() { FileProvider = new PhysicalFileProvider(Path.Combine(env.ContentRootPath, $@"Views/Themes/{appSettings.Value.Theme}")), RequestPath = string.Empty });
👍
Happy to hear that helps you
Thanks for your example, it's perfect. I had to change app.UseStaticFiles method by :
app.UseStaticFiles(new StaticFileOptions() { FileProvider = new PhysicalFileProvider(Path.Combine(env.ContentRootPath, $@"Views/Themes/{appSettings.Value.Theme}")), RequestPath = string.Empty });
👍