From 2f43dffd3f8d18b8acb0f155645d1044b9c338de Mon Sep 17 00:00:00 2001 From: Vikram Reddy Date: Tue, 19 Aug 2025 23:21:27 +0530 Subject: [PATCH 1/2] Update GoogleMap ApiKey to use placeholder value Changed the `ApiKey` in `appsettings.json` from a specific key to a placeholder (`"<>"`). This update enhances security by preventing the exposure of sensitive information in the source code. NOTE: This commit message is auto-generated using GitHub Copilot. --- BlazorBootstrap.Demo.Server/appsettings.json | 2 +- BlazorBootstrap.Demo.WebAssembly/wwwroot/appsettings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BlazorBootstrap.Demo.Server/appsettings.json b/BlazorBootstrap.Demo.Server/appsettings.json index 36ef72990..a4e4c758a 100644 --- a/BlazorBootstrap.Demo.Server/appsettings.json +++ b/BlazorBootstrap.Demo.Server/appsettings.json @@ -23,7 +23,7 @@ }, "dotNetVersion": "9.0.0", "GoogleMap": { - "ApiKey": "AIzaSyDc110Rvu20IMJhlZcWTOPoLbVQdnjLyXs" + "ApiKey": "<>" }, "AzureOpenAI": { "Endpoint": "", diff --git a/BlazorBootstrap.Demo.WebAssembly/wwwroot/appsettings.json b/BlazorBootstrap.Demo.WebAssembly/wwwroot/appsettings.json index 110a3fd24..34c7a10d1 100644 --- a/BlazorBootstrap.Demo.WebAssembly/wwwroot/appsettings.json +++ b/BlazorBootstrap.Demo.WebAssembly/wwwroot/appsettings.json @@ -16,6 +16,6 @@ }, "dotNetVersion": "9.0.0", "GoogleMap": { - "ApiKey": "AIzaSyDc110Rvu20IMJhlZcWTOPoLbVQdnjLyXs" + "ApiKey": "<>" } } \ No newline at end of file From 627eaada140b73818d6d72ab98184e9c60859efe Mon Sep 17 00:00:00 2001 From: Vikram Reddy Date: Tue, 19 Aug 2025 23:23:55 +0530 Subject: [PATCH 2/2] Update Google Maps API key link in documentation The link for obtaining a Google Maps API key has been updated to direct users to the correct page specifically for getting an API key, improving the relevance for prerequisites. NOTE: This commit message is auto-generated using GitHub Copilot. --- .../Components/Pages/Maps/GoogleMapDocumentation.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlazorBootstrap.Demo.RCL/Components/Pages/Maps/GoogleMapDocumentation.razor b/BlazorBootstrap.Demo.RCL/Components/Pages/Maps/GoogleMapDocumentation.razor index ecc5f8e76..f50d30fb1 100644 --- a/BlazorBootstrap.Demo.RCL/Components/Pages/Maps/GoogleMapDocumentation.razor +++ b/BlazorBootstrap.Demo.RCL/Components/Pages/Maps/GoogleMapDocumentation.razor @@ -15,7 +15,7 @@
Before you start using the GoogleMap component in your project, you need an API key. Please follow the link below for detailed steps. - Link: https://developers.google.com/maps/documentation/javascript/adding-a-google-map#key. + Link: https://developers.google.com/maps/documentation/javascript/get-api-key?setupProd=prerequisites.