mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-13 21:56:20 +00:00
use Path.DirectorySeparatorChar
This commit is contained in:
@@ -161,11 +161,7 @@ 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
|
||||
return Path.Combine(DashboardUIPath, virtualPath.Replace('/', Path.DirectorySeparatorChar));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user