Skip to content

Commit 5bae43e

Browse files
authored
google map key updates (#1165)
* Update GoogleMap ApiKey to use placeholder value Changed the `ApiKey` in `appsettings.json` from a specific key to a placeholder (`"<<ApiKey>>"`). This update enhances security by preventing the exposure of sensitive information in the source code. * 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.
1 parent 99558d9 commit 5bae43e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

BlazorBootstrap.Demo.RCL/Components/Pages/Maps/GoogleMapDocumentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div>
1616
Before you start using the GoogleMap component in your project, you need an API key.
1717
Please follow the link below for detailed steps.
18-
<b>Link:</b> <a href="https://developers.google.com/maps/documentation/javascript/adding-a-google-map#key" target="_blank">https://developers.google.com/maps/documentation/javascript/adding-a-google-map#key</a>.
18+
<b>Link:</b> <a href="https://developers.google.com/maps/documentation/javascript/get-api-key?setupProd=prerequisites" target="_blank">https://developers.google.com/maps/documentation/javascript/get-api-key?setupProd=prerequisites</a>.
1919
</div>
2020
</Section>
2121

BlazorBootstrap.Demo.Server/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"dotNetVersion": "9.0.0",
2525
"GoogleMap": {
26-
"ApiKey": "AIzaSyDc110Rvu20IMJhlZcWTOPoLbVQdnjLyXs"
26+
"ApiKey": "<<ApiKey>>"
2727
},
2828
"AzureOpenAI": {
2929
"Endpoint": "",

BlazorBootstrap.Demo.WebAssembly/wwwroot/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
},
1717
"dotNetVersion": "9.0.0",
1818
"GoogleMap": {
19-
"ApiKey": "AIzaSyDc110Rvu20IMJhlZcWTOPoLbVQdnjLyXs"
19+
"ApiKey": "<<ApiKey>>"
2020
}
2121
}

0 commit comments

Comments
 (0)