aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Startup.cs
diff options
context:
space:
mode:
authorDavid Ullmer <daullmer@gmail.com>2020-08-31 17:53:55 +0200
committerDavid Ullmer <daullmer@gmail.com>2020-08-31 17:53:55 +0200
commit7f79f2ee0e1fe3b5f0edb22677df9f9235d883fa (patch)
treecff633ebdd83b9703d722f706fde74703660bee4 /Jellyfin.Server/Startup.cs
parent025ee2163ffea826083fdea6a084090733ab8fff (diff)
Use .Distinct on assembly
Diffstat (limited to 'Jellyfin.Server/Startup.cs')
-rw-r--r--Jellyfin.Server/Startup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.cs
index 7c54334d1..ef255fb60 100644
--- a/Jellyfin.Server/Startup.cs
+++ b/Jellyfin.Server/Startup.cs
@@ -41,7 +41,7 @@ namespace Jellyfin.Server
{
services.AddResponseCompression();
services.AddHttpContextAccessor();
- services.AddJellyfinApi(_serverConfigurationManager.Configuration.BaseUrl.TrimStart('/'), _applicationHost);
+ services.AddJellyfinApi(_serverConfigurationManager.Configuration.BaseUrl.TrimStart('/'), _applicationHost.GetApiPluginAssemblies());
services.AddJellyfinApiSwagger();