From 94348de291a9e49f575bf05d6f8463a38515abf7 Mon Sep 17 00:00:00 2001 From: Jonathan Bourdon Date: Mon, 13 Jan 2025 23:18:47 -0500 Subject: [PATCH] Adds missing appsettings.Production.json --- src/Web/appsettings.Development.json | 12 ++---------- src/Web/appsettings.Production.json | 19 +++++++++++++++++++ src/Web/appsettings.json | 3 ++- 3 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 src/Web/appsettings.Production.json diff --git a/src/Web/appsettings.Development.json b/src/Web/appsettings.Development.json index 9345447..538fd47 100644 --- a/src/Web/appsettings.Development.json +++ b/src/Web/appsettings.Development.json @@ -1,15 +1,7 @@ { - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Information", - "Microsoft.AspNetCore.SpaProxy": "Information", - "Microsoft.Hosting.Lifetime": "Information" - } - }, "ConnectionStrings": { "AzureBlob": "DefaultEndpointsProtocol=https;AccountName=hutopyblob;AccountKey=AjK9vQMCIAG280PFIAWDjTtiFc/fIj/fb1NA9xtC7SLm6ZMZa/Agg0JFGYcHuJEaoZKDme7mNx/U+AStt9o7LQ==;EndpointSuffix=core.windows.net", - "PostgresConnection": "Server=localhost,5432;Database=Hutopy;Uid=sa;Pwd=P@ssword123!;" + "PostgresConnection": "Server=localhost,5432;Database=Hutopy;Uid=sa;Pwd=P@ssword123!;", }, "Authentication": { "Jwt": { @@ -24,4 +16,4 @@ "WebhookSecret": "whsec_cee07ef14cf784850cab63567048b5326fec7fd29c03f4659476524f8299aff1", "HutopyRate": 0.05 } -} \ No newline at end of file +} diff --git a/src/Web/appsettings.Production.json b/src/Web/appsettings.Production.json new file mode 100644 index 0000000..71ad1d9 --- /dev/null +++ b/src/Web/appsettings.Production.json @@ -0,0 +1,19 @@ +{ + "ConnectionStrings": { + "AzureBlob": "DefaultEndpointsProtocol=https;AccountName=hutopyblob;AccountKey=AjK9vQMCIAG280PFIAWDjTtiFc/fIj/fb1NA9xtC7SLm6ZMZa/Agg0JFGYcHuJEaoZKDme7mNx/U+AStt9o7LQ==;EndpointSuffix=core.windows.net", + "PostgresConnection": "Server=hutopypostgress.postgres.database.azure.com,5432;Database=hutopy;User Id=hutopy;Password=General2024!;Ssl Mode=Require;" + }, + "Authentication": { + "Jwt": { + "Lifetime": "1.00:00:00", + "Audience": "hutopy", + "Issuer": "https://auth.hutopy.com", + "Key": "b2df428b9929d3ace7c598bbf4e496b2f0b71ab3cd4f94540356cfc35b000000" + } + }, + "Stripe": { + "SecretKey": "sk_test_51OoveVDrRyqXtNdBaOs1DFFja0XhrQtJoAo83uSySMuqw4Wyt9NsuugrIHRqet9a50cr5GvolpTP8EZuTSttcgYx00gOUPNDoI", + "WebhookSecret": "whsec_cee07ef14cf784850cab63567048b5326fec7fd29c03f4659476524f8299aff1", + "HutopyRate": 0.05 + } +} \ No newline at end of file diff --git a/src/Web/appsettings.json b/src/Web/appsettings.json index d7257bd..edd8c66 100644 --- a/src/Web/appsettings.json +++ b/src/Web/appsettings.json @@ -2,7 +2,8 @@ "Logging": { "LogLevel": { "Default": "Information", - "Microsoft": "Warning", + "Microsoft": "Information", + "Microsoft.AspNetCore.SpaProxy": "Information", "Microsoft.Hosting.Lifetime": "Information" } },