mirror of
https://github.com/BtbN/ClanServer.git
synced 2026-09-06 23:45:15 -05:00
Change profile name, pring startup message
This commit is contained in:
@@ -18,6 +18,8 @@ namespace ClanServer
|
||||
var builder = CreateWebHostBuilder(args);
|
||||
var host = builder.Build();
|
||||
|
||||
Console.WriteLine($"Server URL: http://localhost:{Startup.Port}/core");
|
||||
|
||||
host.Run();
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<SelfContained>false</SelfContained>
|
||||
<_IsPortable>true</_IsPortable>
|
||||
<publishUrl>bin\Release\netcoreapp2.2\publish\</publishUrl>
|
||||
<DeleteExistingFiles>False</DeleteExistingFiles>
|
||||
<DeleteExistingFiles>True</DeleteExistingFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -40,11 +40,13 @@ namespace ClanServer
|
||||
services
|
||||
.AddDbContext<ClanServerContext>(options =>
|
||||
{
|
||||
#if DEBUG
|
||||
if (CurEnv.IsDevelopment())
|
||||
{
|
||||
options.UseLoggerFactory(LogFactory);
|
||||
options.EnableSensitiveDataLogging();
|
||||
}
|
||||
#endif
|
||||
|
||||
options.UseSqlite("Data Source=clanserver.db");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user