mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
18 lines
478 B
C#
18 lines
478 B
C#
|
|
using Microsoft.AspNetCore.Hosting;
|
||
|
|
using Microsoft.Extensions.Hosting;
|
||
|
|
|
||
|
|
namespace Kruzya.TelegramBot.Core
|
||
|
|
{
|
||
|
|
public class Program
|
||
|
|
{
|
||
|
|
public static void Main(string[] args)
|
||
|
|
{
|
||
|
|
CreateHostBuilder(args).Build().Run();
|
||
|
|
}
|
||
|
|
|
||
|
|
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
||
|
|
Host.CreateDefaultBuilder(args)
|
||
|
|
.ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); });
|
||
|
|
}
|
||
|
|
}
|