Have Kestrel listen on any IP
This commit is contained in:
parent
4450826241
commit
cabbae0679
@ -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>();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user