nopCommerce icon indicating copy to clipboard operation
nopCommerce copied to clipboard

Suggest adding application.UseDefaultFiles();

Open nealculiner opened this issue 5 months ago • 0 comments

People like me have a lot of web content that uses default.htm, default.html, index.html type pages which go in the wwwroot as you know. Out of the box nopCommerce (4.60.5) doesn't serve these and results in 404's. This is an easy fix, in the first line of the UseNopStaticFiles method you just need to add the line below and it solves this issue.

application.UseDefaultFiles();

nealculiner avatar Jan 21 '24 21:01 nealculiner