using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace StardewModdingAPI.Web
{
/// The main app entry point.
public class Program
{
/*********
** Public methods
*********/
/// The main app entry point.
/// The command-line arguments.
public static void Main(string[] args)
{
// configure web server
new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup()
.UseApplicationInsights()
.Build()
.Run();
}
}
}