mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 08:33:19 +01:00
Use configurationRelativePath when listing directory contents
This commit is contained in:
@@ -169,7 +169,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles
|
||||
result.AddRange(enumerator.Select(x => new ConfigurationFile
|
||||
{
|
||||
IsDirectory = true,
|
||||
Path = ioManager.ConcatPath(path, x),
|
||||
Path = ioManager.ConcatPath(configurationRelativePath, x),
|
||||
}));
|
||||
}
|
||||
catch (IOException e)
|
||||
@@ -182,7 +182,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles
|
||||
result.AddRange(enumerator.Select(x => new ConfigurationFile
|
||||
{
|
||||
IsDirectory = false,
|
||||
Path = ioManager.ConcatPath(path, x),
|
||||
Path = ioManager.ConcatPath(configurationRelativePath, x),
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user