Maybe fixes linux pathing

This commit is contained in:
AffectedArc07
2020-01-21 17:24:43 +00:00
parent f8b8ddf9c8
commit 38d4c8103a
@@ -191,7 +191,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles
{
IsDirectory = true,
Path = ioManager.ConcatPath(configurationRelativePath, x),
}));
}).OrderBy(file => file.Path));
}
catch (IOException e)
{
@@ -205,7 +205,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles
{
IsDirectory = false,
Path = ioManager.ConcatPath(configurationRelativePath, x),
}));
}).OrderBy(file => file.Path));
}
using (await SemaphoreSlimContext.Lock(semaphore, cancellationToken).ConfigureAwait(false))