mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Fixed app paths not being expanded
This commit is contained in:
@@ -268,6 +268,11 @@ namespace Emby.Server.Implementations
|
||||
|
||||
public string ExpandVirtualPath(string path)
|
||||
{
|
||||
if (path is null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
var appPaths = ApplicationPaths;
|
||||
|
||||
return path.Replace(appPaths.VirtualDataPath, appPaths.DataPath, StringComparison.OrdinalIgnoreCase)
|
||||
|
||||
Reference in New Issue
Block a user