From 5d834a97cf02fca312691ec6eba7c0ae918fbc42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Andr=C3=A9?= Date: Tue, 12 Nov 2019 14:37:14 +0100 Subject: [PATCH] Add the configuration for the Release --- Back/skydiveLogs-api/appsettings.Development.json | 12 ++++++++---- Back/skydiveLogs-api/appsettings.Release.json | 13 +++++++++++++ Back/skydiveLogs-api/appsettings.json | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 Back/skydiveLogs-api/appsettings.Release.json diff --git a/Back/skydiveLogs-api/appsettings.Development.json b/Back/skydiveLogs-api/appsettings.Development.json index e203e94..2d0df14 100644 --- a/Back/skydiveLogs-api/appsettings.Development.json +++ b/Back/skydiveLogs-api/appsettings.Development.json @@ -1,9 +1,13 @@ { "Logging": { "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" + "Default": "Warning", + "System": "Warning", + "Microsoft": "Warning" } + }, + "AllowedHosts": "http://localhost:4200", + "ConnectionStrings": { + "DefaultConnection": "Filename=./Data/JumpsDb.db" } -} +} \ No newline at end of file diff --git a/Back/skydiveLogs-api/appsettings.Release.json b/Back/skydiveLogs-api/appsettings.Release.json new file mode 100644 index 0000000..8508290 --- /dev/null +++ b/Back/skydiveLogs-api/appsettings.Release.json @@ -0,0 +1,13 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" + } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + "DefaultConnection": "Filename=./Data/JumpsDb.db" + } +} \ No newline at end of file diff --git a/Back/skydiveLogs-api/appsettings.json b/Back/skydiveLogs-api/appsettings.json index 42ae427..4aa247b 100644 --- a/Back/skydiveLogs-api/appsettings.json +++ b/Back/skydiveLogs-api/appsettings.json @@ -4,7 +4,7 @@ "Default": "Warning" } }, - "AllowedHosts": "*", + "AllowedHosts": "http://localhost:4200", "ConnectionStrings": { "DefaultConnection": "Filename=./Data/JumpsDb.db" }