React to Hosting changes
This commit is contained in:
parent
007821bf1b
commit
c69a159672
|
|
@ -155,7 +155,7 @@ $@"<!doctype html>
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace LocalizationWebsite
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup("LocalizationWebsite")
|
||||
.Build();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue