-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: FixedThe bug or enhancement requested in this issue has been checked-in!The bug or enhancement requested in this issue has been checked-in!DoneThis issue has been fixedThis issue has been fixedarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-minimal-hosting
Milestone
Description
When using the new minimal hosting API (e.g. WebApplication.CreateBuilder) the web root folder is incorrectly set resulting in static files not working.
Issue seems to be here somewhere as it looks like it's trying to combine a path that's already been combined in the constructor:
| WebRootFileProvider = new PhysicalFileProvider(Path.Combine(ContentRootPath, WebRootPath)); |
Found in version 6.0.100-preview.5.21254.10
halter73
Metadata
Metadata
Assignees
Labels
✔️ Resolution: FixedThe bug or enhancement requested in this issue has been checked-in!The bug or enhancement requested in this issue has been checked-in!DoneThis issue has been fixedThis issue has been fixedarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-minimal-hosting