LogFile mapper is less greedy which logged other messages

pull/3113/head
Mark McDowall 11 years ago
parent 177e4b850e
commit 21a3260bf2

@ -23,7 +23,7 @@ namespace NzbDrone.Api.Frontend
public bool CanHandle(string resourceUrl)
{
return resourceUrl.StartsWith("/log");
return resourceUrl.StartsWith("/log") && resourceUrl.EndsWith(".txt");
}
}
}
Loading…
Cancel
Save