mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
use Path.DirectorySeparatorChar
This commit is contained in:
parent
54b20dcbb8
commit
f8b042b87d
@ -161,11 +161,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||||||
/// <returns>System.String.</returns>
|
/// <returns>System.String.</returns>
|
||||||
private string GetDashboardResourcePath(string virtualPath)
|
private string GetDashboardResourcePath(string virtualPath)
|
||||||
{
|
{
|
||||||
#if __MonoCS__
|
return Path.Combine(DashboardUIPath, virtualPath.Replace('/', Path.DirectorySeparatorChar));
|
||||||
return Path.Combine(DashboardUIPath, virtualPath);
|
|
||||||
#else
|
|
||||||
return Path.Combine(DashboardUIPath, virtualPath.Replace('/', '\\'));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user