mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 16:28:50 -07:00
Update Program.cs
This commit is contained in:
parent
77871fd514
commit
83365da059
@ -16,7 +16,7 @@ bool gameOpenEnable = builder.Configuration.GetSection("GamePromptOptions").GetV
|
|||||||
string ClientPath = builder.Configuration.GetSection("GamePromptOptions").GetValue<string>("ClientPath");
|
string ClientPath = builder.Configuration.GetSection("GamePromptOptions").GetValue<string>("ClientPath");
|
||||||
|
|
||||||
// shows that the server is starting
|
// 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<AssetServerConfig>(builder.Configuration.GetSection("AssetServer"));
|
||||||
builder.Services.Configure<ApiServerConfig>(builder.Configuration.GetSection("ApiServer"));
|
builder.Services.Configure<ApiServerConfig>(builder.Configuration.GetSection("ApiServer"));
|
||||||
@ -74,7 +74,7 @@ app.MapControllers();
|
|||||||
|
|
||||||
// Shows message that server is running
|
// Shows message that server is running
|
||||||
|
|
||||||
ConsoleFunctions.log("Server Running");
|
ConsoleFunctions.log("Server Running", assetPort);
|
||||||
|
|
||||||
//asks the user to automally open the game client
|
//asks the user to automally open the game client
|
||||||
if (gameOpenEnable == true)
|
if (gameOpenEnable == true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user