From 635b5ea646ec55c7ae212f79031b69c00ad79763 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 31 May 2020 15:35:25 +0800 Subject: Migrate to docker. --- Timeline/Startup.cs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Timeline/Startup.cs') diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs index b6c3ff7f..09281551 100644 --- a/Timeline/Startup.cs +++ b/Timeline/Startup.cs @@ -36,12 +36,6 @@ namespace Timeline // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { - var workDir = Configuration.GetValue("WorkDir"); - if (workDir == null) - { - throw new InvalidOperationException("Please set a work directory first."); - } - services.AddControllers(setup => { setup.InputFormatters.Add(new StringInputFormatter()); -- cgit v1.2.3