fix: disable StaticWebAssetsEnabled to prevent wwwroot manifest path crash
The development static web assets manifest embedded a stale C:\src\ path, crashing the app on startup via UseStaticWebAssets(). Disabling the manifest is correct for a containerized service — wwwroot files are still copied to bin output and served normally via UseStaticFiles(). Ref: IT-628 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user