make 030 available

This commit is contained in:
Lucy Cifferello
2022-03-02 13:34:07 -07:00
parent e81b3b7546
commit 8ab7ae8f3f

View File

@@ -16,9 +16,9 @@ import Handler.Types.Status
import Lib.Registry
import Lib.Types.Emver
import Settings
import System.Directory ( doesFileExist )
import System.FilePath ( (</>) )
import Util.Shared
import System.Directory ( doesFileExist )
getVersionR :: Handler AppVersionRes
getVersionR = do
@@ -48,4 +48,4 @@ getVersionWSpec rootDir ext = do
getSystemStatusR :: Handler OSVersionRes
getSystemStatusR = do
-- hardcoded to the next major version release so the UI can by dynamic. this might change depending on the version number we decide to release.
pure $ OSVersionRes NOTHING $ Version (1,0,0,0)
pure $ OSVersionRes AVAILABLE $ Version (1, 0, 0, 0)