From 45c09ace4acee4df9c860395fb7261adb09bc914 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 22 Apr 2019 17:03:07 +0800 Subject: Add Tencent COS. --- Timeline/Startup.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Timeline/Startup.cs') diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs index 285dfcfa..6491554a 100644 --- a/Timeline/Startup.cs +++ b/Timeline/Startup.cs @@ -80,6 +80,9 @@ namespace Timeline warnings.Throw(RelationalEventId.QueryClientEvaluationWarning); }); }); + + services.Configure(Configuration.GetSection(nameof(TencentCosConfig))); + services.AddSingleton(); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. -- cgit v1.2.3