mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 12:33:00 +02:00
LogFile mapper is less greedy which logged other messages
This commit is contained in:
@@ -23,7 +23,7 @@ namespace NzbDrone.Api.Frontend
|
|||||||
|
|
||||||
public bool CanHandle(string resourceUrl)
|
public bool CanHandle(string resourceUrl)
|
||||||
{
|
{
|
||||||
return resourceUrl.StartsWith("/log");
|
return resourceUrl.StartsWith("/log") && resourceUrl.EndsWith(".txt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user