diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-07-17 12:53:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-17 12:53:50 +0100 |
| commit | a44309f56f300cfc670ca2fb62e93f5571aac66a (patch) | |
| tree | de9c9c5254424ed408a1e8d8d4ba56e1c2431585 | |
| parent | 02d3bb758866b7707971b282e40529e196a42880 (diff) | |
Update HttpListenerHost.cs
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs index 6860b7ecd..7c0d06fb2 100644 --- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs +++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs @@ -106,12 +106,7 @@ namespace Emby.Server.Implementations.HttpServer { return _appHost.CreateInstance(type); } - - public object CreateInstance(Type type, object parameter) - { - return _appHost.CreateInstance(type, parameter); - } - + private static string NormalizeUrlPath(string path) { if (path.Length > 0 && path[0] == '/') |
