diff options
Diffstat (limited to 'Timeline/Startup.cs')
-rw-r--r-- | Timeline/Startup.cs | 6 |
1 files changed, 0 insertions, 6 deletions
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<string?>("WorkDir");
- if (workDir == null)
- {
- throw new InvalidOperationException("Please set a work directory first.");
- }
-
services.AddControllers(setup =>
{
setup.InputFormatters.Add(new StringInputFormatter());
|