mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 14:26:07 +08:00
修复删除日志
This commit is contained in:
parent
8174762c18
commit
425e49675a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user