From 48b6d83b804008738efb1f0652adb0692776da4b Mon Sep 17 00:00:00 2001 From: ysmoradi Date: Wed, 4 Dec 2024 10:42:16 +0100 Subject: [PATCH] fix --- .../appsettings.Production.json | 4 ++-- .../Boilerplate.Server.Web/appsettings.json | 20 ++++--------------- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/appsettings.Production.json b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/appsettings.Production.json index a21d17f43b..fcc77c4d43 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/appsettings.Production.json +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/appsettings.Production.json @@ -1,6 +1,6 @@ -{ +{ "WebAppRender": { - "BlazorMode": "BlazorAuto" + "BlazorMode": "BlazorWebAssembly" }, "$schema": "https://json.schemastore.org/appsettings.json" } \ No newline at end of file diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Web/appsettings.json b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Web/appsettings.json index e06e6ede10..0e398c55c7 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Web/appsettings.json +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Web/appsettings.json @@ -3,19 +3,16 @@ "ConnectionStrings": { "SqlServerConnectionString": "Data Source=(localdb)\\mssqllocaldb; Initial Catalog=BoilerplateDb;Integrated Security=true;Application Name=Boilerplate;TrustServerCertificate=True;", "SqliteConnectionString": "Data Source=App_Data/BoilerplateDb.db;", - "SqliteConnectionString_Comment": "To debug inside docker, change ConnectionStrings__SqliteConnectionString's value in launchSettings.json", "PostgreSQLConnectionString": "User ID=postgres;Password=postgres;Host=localhost;Database=BoilerplateDb;", "MySqlSQLConnectionString": "Server=localhost;Port=3306;Database=BoilerplateDb;Uid=root;Pwd=123456;", - "AzureBlobStorageSasUrl": "emulator", - "AzureBlobStorageSasUrl_Comment": "More info about blob storage sas url at https://learn.microsoft.com/en-us/azure/ai-services/translator/document-translation/how-to-guides/create-sas-tokens?tabs=blobs#create-sas-tokens-in-the-azure-portal" + "AzureBlobStorageSasUrl": "emulator" + }, "DataProtectionCertificatePassword": "P@ssw0rdP@ssw0rd", - "DataProtectionCertificatePassword_Comment": "It can also be configured using: dotnet user-secrets set 'DataProtectionCertificatePassword' 'P@ssw0rdP@ssw0rd'", "Identity": { "Issuer": "Boilerplate", "Audience": "Boilerplate", "BearerTokenExpiration": "0.00:05:00", - "BearerTokenExpiration_Comment": "BearerTokenExpiration used as JWT's expiration claim, access token's expires in and cookie's max age. Format: D.HH:mm:ss", "RefreshTokenExpiration": "14.00:00:00", "EmailTokenLifetime": "0.00:02:00", "PhoneNumberTokenLifetime": "0.00:02:00", @@ -36,7 +33,6 @@ }, "Email": { "Host": "LocalFolder", - "Host_Comment": "Local folder means storing emails as .eml file in App_Data/sent-emails folder (Recommended for testing purposes only) instead of sending them using smtp server.", "Port": "587", "DefaultFromEmail": "info@Boilerplate.com", "UserName": null, @@ -49,26 +45,18 @@ }, "UserProfileImagesDir": "attachments/profiles/", "GoogleRecaptchaSecretKey": "6LdMKr4pAAAAANvngWNam_nlHzEDJ2t6SfV6L_DS", - "AdsPushVapid_Comment": "https://github.com/adessoTurkey-dotNET/AdsPush", "AdsPushVapid": { - "AdsPushVapid_Comment": "Web push's vapid. More info at https://tools.reactpwa.com/vapid/", "Subject": "mailto:test@bitplatform.dev", - "PrivateKey": "dMIR1ICj-lDWYZ-ZYCwXKyC2ShYayYYkEL-oOPnpq9c", - "PublicKey_Comment": "Set public key in Client.Core's appsettings.json" + "PrivateKey": "dMIR1ICj-lDWYZ-ZYCwXKyC2ShYayYYkEL-oOPnpq9c" }, "AdsPushAPNS": { "P8PrivateKey": null, - "P8PrivateKey_Comment": "p8 certificate string without spaces and start/end tags.", "P8PrivateKeyId": null, - "P8PrivateKeyId_Comment": "10-digit p8 certificate id; often part of a downloadable certificate filename", "TeamId": null, - "TeamId_Comment": "10-digit Apple team id shown on the Apple Developer Membership Page", "AppBundleIdentifier": null, - "EnvironmentType": "Development", - "EnvironmentType_Comment": "Apns Env one of Development or Production" + "EnvironmentType": "Development" }, "AdsPushFirebase": { - "AdsPushFirebase_Comment": "Filed names in service_account.json => project_id,private_key_id,private_key,client_email,client_id,client_x509_cert_url", "Type": "service_account", "AuthUri": "https://accounts.google.com/o/oauth2/auth", "TokenUri": "https://oauth2.googleapis.com/token",