aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Timeline/Startup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs
index 918f025a..597fa4c3 100644
--- a/Timeline/Startup.cs
+++ b/Timeline/Startup.cs
@@ -62,7 +62,7 @@ namespace Timeline
.AddScheme<MyAuthenticationOptions, MyAuthenticationHandler>(AuthenticationConstants.Scheme, AuthenticationConstants.DisplayName, o => { });
services.AddAuthorization();
- services.AddScoped<IPathProvider, PathProvider>();
+ services.AddSingleton<IPathProvider, PathProvider>();
services.AddAutoMapper(GetType().Assembly);