File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public class GetAzureMapsToken()
1414 "https://www.microsoft.com/" ,
1515 "https://microsoft.com/" ,
1616 "https://msmaps.azurewebsites.net/" , // For local testing
17- "http://localhost:58745 /" // For local testing
17+ "http://localhost:58035 /" // For local testing
1818 ] ;
1919
2020 /// <summary>
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ namespace SampleFunctions;
77public class GetBingMapsKey ( )
88{
99 private static readonly string [ ] AllowedDomains = [
10- "https://samples.bingmapsportal.com/"
10+ "https://samples.bingmapsportal.com/" ,
11+ "http://localhost:58035/" // For local testing
1112 ] ;
1213
1314 [ Function ( "GetBingMapsKey" ) ]
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ namespace SampleFunctions;
77public class GetDataFromUrl ( )
88{
99 private static readonly string [ ] AllowedDomains = [
10- "https://samples.azuremaps.com/"
10+ "https://samples.azuremaps.com/" ,
11+ "http://localhost:58035/" // For local testing
1112 ] ;
1213
1314 private static readonly HttpClient _HttpClient = new ( ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ namespace SampleFunctions;
1111public static class GeolocationService
1212{
1313 private static readonly string [ ] AllowedDomains = [
14- "https://samples.azuremaps.com/"
14+ "https://samples.azuremaps.com/" ,
15+ "http://localhost:58035/" // For local testing
1516 ] ;
1617
1718 private static readonly HttpClient HttpClient = new ( ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public class GetMIOKey
88{
99 private static readonly string [ ] AllowedDomains = [
1010 "https://samples.azuremaps.com/" ,
11- "http://localhost:58745 /" // For local testing
11+ "http://localhost:58035 /" // For local testing
1212 ] ;
1313
1414 [ Function ( "GetMIOKey" ) ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public class Optimizer
88{
99 private static readonly string [ ] AllowedDomains = [
1010 "https://samples.azuremaps.com/" ,
11- "http://localhost:58745 /" // For local testing
11+ "http://localhost:58035 /" // For local testing
1212 ] ;
1313
1414 [ Function ( "Optimizer" ) ]
Original file line number Diff line number Diff line change 1010 <ItemGroup >
1111 <FrameworkReference Include =" Microsoft.AspNetCore.App" />
1212 <PackageReference Include =" Microsoft.Azure.Functions.Worker" Version =" 1.22.0" />
13- <PackageReference Include =" Microsoft.Azure.Functions.Worker.Extensions.Http" Version =" 3.1 .0" />
14- <PackageReference Include =" Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version =" 1.2.1 " />
13+ <PackageReference Include =" Microsoft.Azure.Functions.Worker.Extensions.Http" Version =" 3.2 .0" />
14+ <PackageReference Include =" Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version =" 1.3.2 " />
1515 <PackageReference Include =" Microsoft.Azure.Functions.Worker.Sdk" Version =" 1.17.2" />
16- <PackageReference Include =" Azure.Identity" Version =" 1.11.3 " />
16+ <PackageReference Include =" Azure.Identity" Version =" 1.12.0 " />
1717 <PackageReference Include =" Microsoft.ApplicationInsights.WorkerService" Version =" 2.22.0" />
1818 <PackageReference Include =" Microsoft.Azure.Functions.Worker.ApplicationInsights" Version =" 1.2.0" />
1919 <PackageReference Include =" Microsoft.Extensions.Configuration.UserSecrets" Version =" 8.0.0" />
You can’t perform that action at this time.
0 commit comments