Replace on-disk index.html patching with IStartupFilter request-time injection
This commit is contained in:
@@ -9,7 +9,7 @@ namespace JellyfinPlugin
|
||||
public void RegisterServices(IServiceCollection serviceCollection, MediaBrowser.Controller.IServerApplicationHost applicationHost)
|
||||
{
|
||||
// Rejestracja serwisów tła
|
||||
serviceCollection.AddHostedService<HtmlPatcher>();
|
||||
serviceCollection.AddSingleton<Microsoft.AspNetCore.Hosting.IStartupFilter, ScriptInjectionStartupFilter>();
|
||||
serviceCollection.AddHostedService<WrapperGenerator>();
|
||||
serviceCollection.AddHostedService<LibraryMonitor>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user