add Mikrotik as Cli client

This commit is contained in:
Samuel Behan 2019-07-09 20:29:36 +02:00
parent 4ce6452332
commit 587ced59a8
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ func NotFoundHandler(w http.ResponseWriter, r *http.Request) *appError {
func cliMatcher(r *http.Request) bool {
ua := useragent.Parse(r.UserAgent())
switch ua.Product {
case "curl", "HTTPie", "Wget", "fetch libfetch", "Go", "Go-http-client", "ddclient":
case "curl", "HTTPie", "Wget", "fetch libfetch", "Go", "Go-http-client", "ddclient", "Mikrotik":
return true
}
return false