summaryrefslogtreecommitdiff
path: root/DSACore/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DSACore/Program.cs')
-rw-r--r--DSACore/Program.cs21
1 files changed, 8 insertions, 13 deletions
diff --git a/DSACore/Program.cs b/DSACore/Program.cs
index d8cb67c..8af0a74 100644
--- a/DSACore/Program.cs
+++ b/DSACore/Program.cs
@@ -1,13 +1,7 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Threading.Tasks;
-using DSACore.FireBase;
+using DSALib.DSA_Game;
+using DSALib.FireBase;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
-using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.Logging;
namespace DSACore
{
@@ -16,14 +10,15 @@ namespace DSACore
public static void Main(string[] args)
{
Database.GetGroup(0).Wait();
- DSA_Game.Dsa.Startup();
+ Dsa.Startup();
CreateWebHostBuilder(args).Build().Run();
}
- public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
- WebHost.CreateDefaultBuilder(args)
+ public static IWebHostBuilder CreateWebHostBuilder(string[] args)
+ {
+ return WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.UseUrls("http://0.0.0.0:5000");
-
+ }
}
-}
+} \ No newline at end of file