Fix build
This commit is contained in:
parent
cfd6ec311e
commit
a587270b61
|
|
@ -7,8 +7,10 @@ namespace MusicStore
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultHostingConfiguration(args)
|
// We set the server before default args so that command line arguments can override it.
|
||||||
|
// This is used to allow deployers to choose the server for testing.
|
||||||
.UseKestrel()
|
.UseKestrel()
|
||||||
|
.UseDefaultHostingConfiguration(args)
|
||||||
.UseIIS()
|
.UseIIS()
|
||||||
.UseStartup("MusicStore")
|
.UseStartup("MusicStore")
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@
|
||||||
"Areas",
|
"Areas",
|
||||||
"Views",
|
"Views",
|
||||||
"wwwroot",
|
"wwwroot",
|
||||||
"hosting.json",
|
|
||||||
"config.json"
|
"config.json"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue