blob: 46baf2da3fee9ba983c0ea5a37be6af10e578543 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using DSACore.DSA_Game;
using DSACore.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");
}
}
}
|