Update HttpListenerHost.cs
This commit is contained in:
parent
02d3bb7588
commit
a44309f56f
|
@ -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] == '/')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user