Add missing call to set content root on WebHostBuilder
This commit is contained in:
parent
dc60a2e9c5
commit
aeeaaf0e8f
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.Server.HttpSys;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
|
@ -15,6 +16,7 @@ namespace MusicStore
|
|||
.Build();
|
||||
|
||||
var builder = new WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseConfiguration(config)
|
||||
.UseIISIntegration()
|
||||
.UseStartup("MusicStore");
|
||||
|
|
|
|||
Loading…
Reference in New Issue