mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 22:07:13 -04:00
enable unified routing
This commit is contained in:
parent
e321d3c544
commit
dafbd48f46
@ -49,7 +49,7 @@ namespace MediaBrowser.Server.Startup.Common.Browser
|
|||||||
/// <param name="logger">The logger.</param>
|
/// <param name="logger">The logger.</param>
|
||||||
public static void OpenDashboard(IServerApplicationHost appHost, ILogger logger)
|
public static void OpenDashboard(IServerApplicationHost appHost, ILogger logger)
|
||||||
{
|
{
|
||||||
OpenDashboardPage("dashboard.html", appHost, logger);
|
OpenDashboardPage("index.html#!/dashboard.html", appHost, logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -294,9 +294,6 @@ namespace MediaBrowser.WebDashboard.Api
|
|||||||
_logger.ErrorException("Error minifying html", ex);
|
_logger.ErrorException("Error minifying html", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
html = html.Replace("<body>", "<body><paper-drawer-panel class=\"mainDrawerPanel mainDrawerPanelPreInit skinContainer\" forceNarrow><div class=\"mainDrawer\" drawer></div><div class=\"mainDrawerPanelContent\" main><!--<div class=\"pageBackground\"></div><div class=\"pageContainer\">")
|
|
||||||
.Replace("</body>", "</div>--></div></paper-drawer-panel></body>");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html = html.Replace("<head>", "<head>" + GetMetaTags(mode) + GetCommonCss(mode, appVersion));
|
html = html.Replace("<head>", "<head>" + GetMetaTags(mode) + GetCommonCss(mode, appVersion));
|
||||||
|
Loading…
Reference in New Issue
Block a user