修复删除日志

This commit is contained in:
whyour 2025-05-09 00:20:53 +08:00
parent 8174762c18
commit 425e49675a

View File

@ -92,7 +92,7 @@ export default (app: Router) => {
path: string;
};
const logService = Container.get(LogService);
const finalPath = logService.checkFilePath(filename, path);
const finalPath = logService.checkFilePath(path, filename);
if (!finalPath || blacklist.includes(path)) {
return res.send({
code: 403,