From 70307dc2b60cb4d2290ea15b706ed8c8b3167a48 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Fri, 16 Apr 2021 00:29:52 +0300 Subject: [PATCH] config changes --- src/api/NetworkResurrector.Api/Program.cs | 6 +++--- src/api/NetworkResurrector.Api/appsettings.json | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/NetworkResurrector.Api/Program.cs b/src/api/NetworkResurrector.Api/Program.cs index 797c8b9..b3a57ca 100644 --- a/src/api/NetworkResurrector.Api/Program.cs +++ b/src/api/NetworkResurrector.Api/Program.cs @@ -50,14 +50,14 @@ namespace NetworkResurrector.Api try { var urls = configuration.GetValue("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 { diff --git a/src/api/NetworkResurrector.Api/appsettings.json b/src/api/NetworkResurrector.Api/appsettings.json index 128e5f7..956d891 100644 --- a/src/api/NetworkResurrector.Api/appsettings.json +++ b/src/api/NetworkResurrector.Api/appsettings.json @@ -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/" } }