Skip to content

Commit

Permalink
Remove BaseAddressAuthorizationMessageHandler on API
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Feb 10, 2022
1 parent 0e85c6f commit c001b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AzureIoTHub.Portal/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static async Task Main(string[] args)
builder.RootComponents.Add<App>("#app");

builder.Services.AddHttpClient("api", client => client.BaseAddress = new Uri(builder.HostEnvironment.BaseAddress))
.AddHttpMessageHandler<BaseAddressAuthorizationMessageHandler>();
/*.AddHttpMessageHandler<BaseAddressAuthorizationMessageHandler>()*/;

builder.Services.AddFileReaderService(o => o.UseWasmSharedBuffer = true);

Expand Down

0 comments on commit c001b0d

Please sign in to comment.