Have Kestrel listen on any IP

This commit is contained in:
Ske 2019-07-15 18:09:14 +02:00
parent 4450826241
commit cabbae0679

View File

@ -21,6 +21,7 @@ namespace PluralKit.API
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseConfiguration(InitUtils.BuildConfiguration(args).Build())
.ConfigureKestrel(opts => { opts.ListenAnyIP(5000); })
.UseStartup<Startup>();
}
}