mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
parent
10f7768356
commit
8fda40f48d
@ -81,7 +81,7 @@ Logs.prototype.getLogFile = function (filename, callback) {
|
||||
callback(err);
|
||||
} else {
|
||||
var validLogs = files.filter(function (file) {
|
||||
return file.name === requestedFilename;
|
||||
return file.name === filename;
|
||||
});
|
||||
|
||||
if (validLogs.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user