mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2026-02-04 19:04:12 +02:00
FINALLY WORKED CODE
This commit is contained in:
@@ -8,8 +8,9 @@ public class Program
|
||||
private static IHostBuilder CreateHostBuilder()
|
||||
{
|
||||
return Host.CreateDefaultBuilder()
|
||||
.ConfigureWebHost(webHost => {
|
||||
.ConfigureWebHostDefaults(webHost => {
|
||||
webHost.UseStartup<Startup>();
|
||||
webHost.UseStaticWebAssets();
|
||||
webHost.UseKestrel(kestrelOptions => { kestrelOptions.ListenAnyIP(80); });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user