|
|
|
@ -57,6 +57,11 @@ namespace MediaBrowser.WebDashboard.Api
|
|
|
|
|
public string Mode { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Route("/robots.txt", "GET")]
|
|
|
|
|
public class GetRobotsTxt
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class GetDashboardResource
|
|
|
|
|
/// </summary>
|
|
|
|
@ -188,6 +193,14 @@ namespace MediaBrowser.WebDashboard.Api
|
|
|
|
|
return ResultFactory.GetOptimizedResult(Request, configPages);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public object Get(GetRobotsTxt request)
|
|
|
|
|
{
|
|
|
|
|
return Get(new GetDashboardResource
|
|
|
|
|
{
|
|
|
|
|
ResourceName = "robots.txt"
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the specified request.
|
|
|
|
|
/// </summary>
|
|
|
|
|