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/150c74ece1b4d91c079502081da4aee67e82b7d5/MediaBrowser.WebDashboard/ServerEntryPoint.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using MediaBrowser.Common;
|
|
|
|
|
using MediaBrowser.Controller.Plugins;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.WebDashboard
|
|
|
|
|
{
|
|
|
|
|
public class ServerEntryPoint : IServerEntryPoint
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the list of plugin configuration pages
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The configuration pages.</value>
|
|
|
|
|
public IEnumerable<IPluginConfigurationPage> PluginConfigurationPages { get; private set; }
|
|
|
|
|
|
|
|
|
|
private readonly IApplicationHost _appHost;
|
|
|
|
|
|
|
|
|
|
public static ServerEntryPoint Instance { get; private set; }
|
|
|
|
|
|
|
|
|
|
public ServerEntryPoint(IApplicationHost appHost)
|
|
|
|
|
{
|
|
|
|
|
_appHost = appHost;
|
|
|
|
|
Instance = this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Run()
|
|
|
|
|
{
|
|
|
|
|
PluginConfigurationPages = _appHost.GetExports<IPluginConfigurationPage>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Dispose()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|