config changes

master
Tudor Stanciu 2021-04-16 00:29:52 +03:00
parent ec6bab4e97
commit 70307dc2b6
2 changed files with 6 additions and 4 deletions

View File

@ -50,14 +50,14 @@ namespace NetworkResurrector.Api
try
{
var urls = configuration.GetValue<string>("urls");
Log.Information("Starting network resurrector agent...");
Log.Information($"Agent API listening on {urls}");
Log.Information("Starting network resurrector API...");
Log.Information($"Network resurrector API listening on {urls}");
Console.WriteLine("Application started. Press Ctrl+C to shut down.");
CreateHostBuilder(args, configuration, !isConsole).Build().Run();
}
catch (Exception ex)
{
Log.Fatal(ex, "Network resurrector agent host terminated unexpectedly");
Log.Fatal(ex, "Network resurrector API host terminated unexpectedly");
}
finally
{

View File

@ -1,6 +1,7 @@
{
"urls": "http://*:5064",
"ConnectionStrings": {
//"DatabaseConnection": "***REMOVED***"
"DatabaseConnection": "***REMOVED***"
},
"Logging": {
@ -12,6 +13,7 @@
},
"AllowedHosts": "*",
"IdentityServer": {
"BaseAddress": "http://localhost:5063/"
//"BaseAddress": "http://localhost:5063/"
"BaseAddress": "https://toodle.ddns.net/identity-server-api/"
}
}