Start the webhost before RunStartupTasks and fix ContentEncoding

This commit is contained in:
Claus Vium
2019-03-03 13:54:14 +01:00
parent d450169964
commit 1cc433eabc
2 changed files with 21 additions and 5 deletions

View File

@@ -144,7 +144,6 @@ namespace Jellyfin.Server
appHost.ImageProcessor.ImageEncoder = GetImageEncoder(fileSystem, appPaths, appHost.LocalizationManager);
await appHost.RunStartupTasks().ConfigureAwait(false);
appHost.Host.Run();
// TODO: read input for a stop command
try