Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest adding application.UseDefaultFiles(); #7030

Open
nealculiner opened this issue Jan 21, 2024 · 0 comments
Open

Suggest adding application.UseDefaultFiles(); #7030

nealculiner opened this issue Jan 21, 2024 · 0 comments

Comments

@nealculiner
Copy link

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();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants