mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
fixes useragent parsing for 'MeshOS' which should enable filtering back to 0.1.3
This commit is contained in:
@@ -57,7 +57,7 @@ instance Show FileExtension where
|
|||||||
|
|
||||||
userAgentOsVersionParser :: Atto.Parser AppVersion
|
userAgentOsVersionParser :: Atto.Parser AppVersion
|
||||||
userAgentOsVersionParser = do
|
userAgentOsVersionParser = do
|
||||||
void $ (Atto.string "AmbassadorOS" <|> Atto.string "EmbassyOS") *> Atto.char '/'
|
void $ (Atto.string "EmbassyOS" <|> Atto.string "AmbassadorOS" <|> Atto.string "MeshOS") *> Atto.char '/'
|
||||||
semverParserBS
|
semverParserBS
|
||||||
|
|
||||||
getEmbassyOsVersion :: Handler (Maybe AppVersion)
|
getEmbassyOsVersion :: Handler (Maybe AppVersion)
|
||||||
|
|||||||
Reference in New Issue
Block a user