Merge branch 'master' into business
大石头 authored at 2024-10-29 10:27:40
613.00 B
AntJob
using NewLife.Cube;
using NewLife.Log;

namespace AntJob.Web;

public class Program
{
    public static void Main(string[] args)
    {
        XTrace.UseConsole();

        CreateHostBuilder(args).Build().Run();
    }

    public static IHostBuilder CreateHostBuilder(String[] args)
    {
        return Host.CreateDefaultBuilder(args)
            .ConfigureLogging(logging => { logging.AddXLog(); })
            .ConfigureWebHostDefaults(webBuilder =>
            {
                //webBuilder.UseUrls("http://*:5000;https://*:5001");
                webBuilder.UseStartup<Startup>();
            });
    }
}