diff --git a/back/api/log.ts b/back/api/log.ts index a8d952b1..97de3c3b 100644 --- a/back/api/log.ts +++ b/back/api/log.ts @@ -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,