mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-23 17:22:51 +00:00
Normalize application paths
This commit is contained in:
parent
50877761f6
commit
70aa7fe77d
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue