mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
get system status endpoint
This commit is contained in:
@@ -44,3 +44,8 @@ getVersionWSpec :: KnownSymbol a => FilePath -> Extension a -> Handler (Maybe Ap
|
||||
getVersionWSpec rootDir ext = do
|
||||
av <- getVersionFromQuery rootDir ext
|
||||
pure $ liftA3 AppVersionRes av (pure Nothing) (pure Nothing)
|
||||
|
||||
getSystemStatusR :: Handler OSVersionRes
|
||||
getSystemStatusR = do
|
||||
-- hardcoded since this will be last OS version release on this registry before 1.0
|
||||
pure $ OSVersionRes NOTHING $ Version (0,2,13,0)
|
||||
Reference in New Issue
Block a user