Merge pull request #2425 from sbwalker/dev

fix new id convention in file server
This commit is contained in:
Shaun Walker 2022-09-21 15:39:20 -04:00 committed by GitHub
commit 9ac3fa5269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ namespace Oqtane.Pages
}
Models.File file;
if (folderpath == "id" && int.TryParse(filename, out int fileid))
if (folderpath == "id/" && int.TryParse(filename, out int fileid))
{
file = _files.GetFile(fileid, false);
}