config changes
parent
ec6bab4e97
commit
70307dc2b6
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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/"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue