Fix to ensure correct URLs on OSX

pull/702/head
Sumit Maitra 11 years ago
parent 53d0e52860
commit d72e68f0cd

@ -161,7 +161,11 @@ namespace MediaBrowser.WebDashboard.Api
/// <returns>System.String.</returns>
private string GetDashboardResourcePath(string virtualPath)
{
#if __MonoCS__
return Path.Combine(DashboardUIPath, virtualPath);
#else
return Path.Combine(DashboardUIPath, virtualPath.Replace('/', '\\'));
#endif
}
/// <summary>

Loading…
Cancel
Save