diff options
author | uzvkl <dennis.kobert@student.kit.edu> | 2019-06-11 23:05:52 +0200 |
---|---|---|
committer | uzvkl <dennis.kobert@student.kit.edu> | 2019-06-11 23:05:52 +0200 |
commit | e6181c24124d97f2fbc932b8a68311e625463156 (patch) | |
tree | c1f097c344ca266b7941c9668590b0fd35c7870a /dsa/DSACore/Program.cs | |
parent | 2490ad5d31fe2ac778ff9303776f0e91f47a2862 (diff) |
Move dsa related stuff to subfolder
Diffstat (limited to 'dsa/DSACore/Program.cs')
-rw-r--r-- | dsa/DSACore/Program.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dsa/DSACore/Program.cs b/dsa/DSACore/Program.cs new file mode 100644 index 0000000..8af0a74 --- /dev/null +++ b/dsa/DSACore/Program.cs @@ -0,0 +1,24 @@ +using DSALib.DSA_Game; +using DSALib.FireBase; +using Microsoft.AspNetCore; +using Microsoft.AspNetCore.Hosting; + +namespace DSACore +{ + public class Program + { + public static void Main(string[] args) + { + Database.GetGroup(0).Wait(); + Dsa.Startup(); + CreateWebHostBuilder(args).Build().Run(); + } + + 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 |