Update HttpListenerHost.cs

This commit is contained in:
BaronGreenback 2020-07-17 12:53:50 +01:00 committed by GitHub
parent 02d3bb7588
commit a44309f56f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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] == '/')