mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
Merge pull request #4121 from cvium/normalize_app_paths
Normalize application paths
This commit is contained in:
commit
6bf0acb854
|
@ -527,6 +527,13 @@ namespace Jellyfin.Server
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Normalize paths. Only possible with GetFullPath for now - https://github.com/dotnet/runtime/issues/2162
|
||||||
|
dataDir = Path.GetFullPath(dataDir);
|
||||||
|
logDir = Path.GetFullPath(logDir);
|
||||||
|
configDir = Path.GetFullPath(configDir);
|
||||||
|
cacheDir = Path.GetFullPath(cacheDir);
|
||||||
|
webDir = Path.GetFullPath(webDir);
|
||||||
|
|
||||||
// Ensure the main folders exist before we continue
|
// Ensure the main folders exist before we continue
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue