enable unified routing

pull/702/head
Luke Pulverenti 9 years ago
parent e321d3c544
commit dafbd48f46

@ -49,7 +49,7 @@ namespace MediaBrowser.Server.Startup.Common.Browser
/// <param name="logger">The logger.</param>
public static void OpenDashboard(IServerApplicationHost appHost, ILogger logger)
{
OpenDashboardPage("dashboard.html", appHost, logger);
OpenDashboardPage("index.html#!/dashboard.html", appHost, logger);
}
/// <summary>

@ -294,9 +294,6 @@ namespace MediaBrowser.WebDashboard.Api
_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));

Loading…
Cancel
Save