mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector
synced 2025-06-21 19:17:04 +03:00
config changes
This commit is contained in:
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…
x
Reference in New Issue
Block a user