diff options
author | 杨宇千 <crupest@outlook.com> | 2019-09-25 21:35:35 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-09-25 21:35:35 +0800 |
commit | e1fb12bafa9bb5b1d657d223a4131c63cd4c2349 (patch) | |
tree | 6badcfb14fd9fb17c6ae467e2a767b6d72a282e9 /Timeline/Program.cs | |
parent | c0292eeb2eb1d531cede4b3fdfead86a86730056 (diff) | |
download | timeline-e1fb12bafa9bb5b1d657d223a4131c63cd4c2349.tar.gz timeline-e1fb12bafa9bb5b1d657d223a4131c63cd4c2349.tar.bz2 timeline-e1fb12bafa9bb5b1d657d223a4131c63cd4c2349.zip |
Init migration to dotnet core 3.0.0 .
Diffstat (limited to 'Timeline/Program.cs')
-rw-r--r-- | Timeline/Program.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Timeline/Program.cs b/Timeline/Program.cs index f343de44..dfc93b9e 100644 --- a/Timeline/Program.cs +++ b/Timeline/Program.cs @@ -2,6 +2,7 @@ using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
+using Microsoft.Extensions.Hosting;
namespace Timeline
{
@@ -10,7 +11,7 @@ namespace Timeline public static void Main(string[] args)
{
CreateWebHostBuilder(args)
- .ConfigureAppConfiguration((context, config) =>
+ .ConfigureAppConfiguration((context, config) =>
{
if (context.HostingEnvironment.IsProduction())
config.AddJsonFile(new PhysicalFileProvider("/etc/webapp/timeline/"), "config.json", true, true);
|