diff options
| author | crobibero <cody@robibe.ro> | 2020-12-10 08:17:02 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-12-10 08:17:02 -0700 |
| commit | b66abf0556802f2278acdfed9fb5d4292cd3f122 (patch) | |
| tree | d02f00f8774ec3abde21c671af07dcc019cb3e44 /Jellyfin.Server/Startup.cs | |
| parent | d65e8d70442ecc2c03372abf5f81c65c6ab189a6 (diff) | |
Add support back for /emby and /mediabrowser routes
Diffstat (limited to 'Jellyfin.Server/Startup.cs')
| -rw-r--r-- | Jellyfin.Server/Startup.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.cs index 306a52ce8..3395d2413 100644 --- a/Jellyfin.Server/Startup.cs +++ b/Jellyfin.Server/Startup.cs @@ -128,6 +128,8 @@ namespace Jellyfin.Server mainApp.UseHttpsRedirection(); } + // This must be injected before any path related middleware. + mainApp.UsePathTrim(); mainApp.UseStaticFiles(); if (appConfig.HostWebClient()) { |
