aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Program.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-09-25 21:35:35 +0800
committer杨宇千 <crupest@outlook.com>2019-09-25 21:35:35 +0800
commit7c021c429ea77dffdd877c3e2a0bcf6e881a7285 (patch)
tree6badcfb14fd9fb17c6ae467e2a767b6d72a282e9 /Timeline/Program.cs
parent3e4405f016ec6cf56bc86577a4662f2fb8f03cc4 (diff)
downloadtimeline-7c021c429ea77dffdd877c3e2a0bcf6e881a7285.tar.gz
timeline-7c021c429ea77dffdd877c3e2a0bcf6e881a7285.tar.bz2
timeline-7c021c429ea77dffdd877c3e2a0bcf6e881a7285.zip
Init migration to dotnet core 3.0.0 .
Diffstat (limited to 'Timeline/Program.cs')
-rw-r--r--Timeline/Program.cs3
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);