Move away from top level statements to keep everything under LANCommander namespace
parent
485b6febbe
commit
e8c4115ae0
|
@ -11,6 +11,12 @@ using System.Text;
|
|||
using Hangfire;
|
||||
using NLog;
|
||||
|
||||
namespace LANCommander
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static async Task Main(string[] args)
|
||||
{
|
||||
Logger Logger = LogManager.GetCurrentClassLogger();
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
@ -236,3 +242,7 @@ foreach (var server in await serverService.Get(s => s.Autostart).ToListAsync())
|
|||
}
|
||||
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue