Update Program.cs

This commit is contained in:
sonic 2024-08-18 19:55:26 +02:00 committed by GitHub
parent 77871fd514
commit 83365da059
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ bool gameOpenEnable = builder.Configuration.GetSection("GamePromptOptions").GetV
string ClientPath = builder.Configuration.GetSection("GamePromptOptions").GetValue<string>("ClientPath");
// shows that the server is starting
ConsoleFunctions.log("Server Start");
Console.WriteLine("Server is starting");
builder.Services.Configure<AssetServerConfig>(builder.Configuration.GetSection("AssetServer"));
builder.Services.Configure<ApiServerConfig>(builder.Configuration.GetSection("ApiServer"));
@ -74,7 +74,7 @@ app.MapControllers();
// Shows message that server is running
ConsoleFunctions.log("Server Running");
ConsoleFunctions.log("Server Running", assetPort);
//asks the user to automally open the game client
if (gameOpenEnable == true)