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); return _appHost.CreateInstance(type);
} }
public object CreateInstance(Type type, object parameter)
{
return _appHost.CreateInstance(type, parameter);
}
private static string NormalizeUrlPath(string path) private static string NormalizeUrlPath(string path)
{ {
if (path.Length > 0 && path[0] == '/') if (path.Length > 0 && path[0] == '/')