mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修复删除日志
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user