config changes
parent
ec6bab4e97
commit
70307dc2b6
|
@ -50,14 +50,14 @@ namespace NetworkResurrector.Api
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var urls = configuration.GetValue<string>("urls");
|
var urls = configuration.GetValue<string>("urls");
|
||||||
Log.Information("Starting network resurrector agent...");
|
Log.Information("Starting network resurrector API...");
|
||||||
Log.Information($"Agent API listening on {urls}");
|
Log.Information($"Network resurrector API listening on {urls}");
|
||||||
Console.WriteLine("Application started. Press Ctrl+C to shut down.");
|
Console.WriteLine("Application started. Press Ctrl+C to shut down.");
|
||||||
CreateHostBuilder(args, configuration, !isConsole).Build().Run();
|
CreateHostBuilder(args, configuration, !isConsole).Build().Run();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Log.Fatal(ex, "Network resurrector agent host terminated unexpectedly");
|
Log.Fatal(ex, "Network resurrector API host terminated unexpectedly");
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"urls": "http://*:5064",
|
"urls": "http://*:5064",
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
|
//"DatabaseConnection": "***REMOVED***"
|
||||||
"DatabaseConnection": "***REMOVED***"
|
"DatabaseConnection": "***REMOVED***"
|
||||||
},
|
},
|
||||||
"Logging": {
|
"Logging": {
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
},
|
},
|
||||||
"AllowedHosts": "*",
|
"AllowedHosts": "*",
|
||||||
"IdentityServer": {
|
"IdentityServer": {
|
||||||
"BaseAddress": "http://localhost:5063/"
|
//"BaseAddress": "http://localhost:5063/"
|
||||||
|
"BaseAddress": "https://toodle.ddns.net/identity-server-api/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue