From 1329683f587dcfd5be9ef28cbb57b227c169010e Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Sun, 12 Apr 2020 14:38:32 +0100 Subject: [PATCH] Tidy up config --- Website/appsettings.Development.json | 3 --- Website/appsettings.json | 3 --- clean-config.sh | 1 + 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Website/appsettings.Development.json b/Website/appsettings.Development.json index 78368ec..d7d9421 100644 --- a/Website/appsettings.Development.json +++ b/Website/appsettings.Development.json @@ -6,9 +6,6 @@ "Microsoft": "Information" } }, - "ConnectionStrings": { - "database": "Server=localhost;User ID=user;Password=pass;Database=db" - }, "blogApiEndpoint": "", "gitApiEndpoint": "", "authApiEndpoint": "" diff --git a/Website/appsettings.json b/Website/appsettings.json index 9a16c5c..1c51a01 100644 --- a/Website/appsettings.json +++ b/Website/appsettings.json @@ -4,9 +4,6 @@ "Default": "Warning" } }, - "ConnectionStrings": { - "database": "" - }, "blogApiEndpoint": "", "gitApiEndpoint": "", "authApiEndpoint": "", diff --git a/clean-config.sh b/clean-config.sh index b52cc82..5824470 100644 --- a/clean-config.sh +++ b/clean-config.sh @@ -4,4 +4,5 @@ sed \ -e 's/"database": "Server=.*;User ID=.*;Password=.*;Database=.*"/"database": "Server=localhost;User ID=user;Password=pass;Database=db"/g' \ -e 's/"blogApiEndpoint": ".*"/"blogApiEndpoint": ""/g' \ -e 's/"gitApiEndpoint": ".*"/"gitApiEndpoint": ""/g' \ +-e 's/"authApiEndpoint": ".*"/"authApiEndpoint": ""/g' \ $1 \ No newline at end of file