Cleaned up some warnings
This commit is contained in:
parent
cd8a1d2892
commit
6020697d7d
7 changed files with 8 additions and 23 deletions
|
@ -37,8 +37,7 @@ namespace API.Services
|
|||
|
||||
public string GetCachePath(int volumeId)
|
||||
{
|
||||
// TODO: Make this an absolute path, no ..'s in it.
|
||||
return Path.Join(Directory.GetCurrentDirectory(), $"../cache/{volumeId}/");
|
||||
return Path.GetFullPath(Path.Join(Directory.GetCurrentDirectory(), $"../cache/{volumeId}/"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue