mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 10:21:51 +00:00
Merge pull request #28 from Start9Labs/bugfix/user-agent-meshos
fixes useragent parsing for 'MeshOS' which should enable filtering ba…
This commit is contained in:
@@ -60,7 +60,7 @@ instance Show FileExtension where
|
||||
|
||||
userAgentOsVersionParser :: Atto.Parser AppVersion
|
||||
userAgentOsVersionParser = do
|
||||
void $ (Atto.string "AmbassadorOS" <|> Atto.string "EmbassyOS") *> Atto.char '/'
|
||||
void $ (Atto.string "EmbassyOS" <|> Atto.string "AmbassadorOS" <|> Atto.string "MeshOS") *> Atto.char '/'
|
||||
semverParserBS
|
||||
|
||||
getEmbassyOsVersion :: Handler (Maybe AppVersion)
|
||||
|
||||
Reference in New Issue
Block a user