diff --git a/src/components/BootstrapBlazor.BaiduSpeech/BootstrapBlazor.BaiduSpeech.csproj b/src/components/BootstrapBlazor.BaiduSpeech/BootstrapBlazor.BaiduSpeech.csproj index a6d4139f..1ae631a0 100644 --- a/src/components/BootstrapBlazor.BaiduSpeech/BootstrapBlazor.BaiduSpeech.csproj +++ b/src/components/BootstrapBlazor.BaiduSpeech/BootstrapBlazor.BaiduSpeech.csproj @@ -1,7 +1,7 @@ - + - 10.0.1 + 10.0.2 diff --git a/src/components/BootstrapBlazor.BaiduSpeech/Extensions/ServiceCollectionExtension.cs b/src/components/BootstrapBlazor.BaiduSpeech/Extensions/ServiceCollectionExtension.cs index e4725af2..3d43de8f 100644 --- a/src/components/BootstrapBlazor.BaiduSpeech/Extensions/ServiceCollectionExtension.cs +++ b/src/components/BootstrapBlazor.BaiduSpeech/Extensions/ServiceCollectionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. +// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ @@ -21,9 +21,6 @@ public static class ServiceCollectionExtension public static IServiceCollection AddBootstrapBlazorBaiduSpeech(this IServiceCollection services, Action< BaiduSpeechOption>? configOptions = null) { - services.AddHttpClient(); - services.AddMemoryCache(); - services.TryAddScoped(); services.AddScoped();