add wwwroot back to API proj

ref #131
This commit is contained in:
Collin M. Barrett 2017-10-29 17:36:42 -05:00
parent c29a1fe77c
commit f9327ae8d3
2 changed files with 4 additions and 1 deletions

View file

@ -17,6 +17,10 @@
<NoWarn>1701;1702;1705;1591</NoWarn>
</PropertyGroup>
<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />

View file

@ -24,7 +24,6 @@ public static IWebHost BuildWebHost(string[] args)
{
return WebHost.CreateDefaultBuilder(args)
.UseUrls("http://*:5000;")
.UseWebRoot("apiroot")
.UseApplicationInsights()
.UseStartup<Startup>()
.Build();