mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-06 15:14:13 -04:00
21 lines
562 B
C#
21 lines
562 B
C#
using Microsoft.AspNetCore;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
namespace Kyoo
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
CreateWebHostBuilder(args).Build().Run();
|
|
}
|
|
|
|
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
|
WebHost.CreateDefaultBuilder(args)
|
|
.UseKestrel((config) => { config.AddServerHeader = false; })
|
|
.UseUrls("http://*:5000")
|
|
.UseStartup<Startup>();
|
|
}
|
|
}
|