Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/blame/commit/fa6b90eb745c2491ae50ce4fe1e2fb5700f87399/ServiceStack/Host/ActionContext.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace ServiceStack.Host
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Context to capture IService action
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ActionContext
|
|
|
|
|
{
|
|
|
|
|
public const string AnyAction = "ANY";
|
|
|
|
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public ActionInvokerFn ServiceAction { get; set; }
|
|
|
|
|
public MediaBrowser.Model.Services.IHasRequestFilter[] RequestFilters { get; set; }
|
|
|
|
|
|
|
|
|
|
public static string Key(Type serviceType, string method, string requestDtoName)
|
|
|
|
|
{
|
|
|
|
|
return serviceType.FullName + " " + method.ToUpper() + " " + requestDtoName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static string AnyKey(Type serviceType, string requestDtoName)
|
|
|
|
|
{
|
|
|
|
|
return Key(serviceType, AnyAction, requestDtoName);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|