mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-30 19:54:47 +00:00
make 030 available
This commit is contained in:
@@ -16,9 +16,9 @@ import Handler.Types.Status
|
|||||||
import Lib.Registry
|
import Lib.Registry
|
||||||
import Lib.Types.Emver
|
import Lib.Types.Emver
|
||||||
import Settings
|
import Settings
|
||||||
|
import System.Directory ( doesFileExist )
|
||||||
import System.FilePath ( (</>) )
|
import System.FilePath ( (</>) )
|
||||||
import Util.Shared
|
import Util.Shared
|
||||||
import System.Directory ( doesFileExist )
|
|
||||||
|
|
||||||
getVersionR :: Handler AppVersionRes
|
getVersionR :: Handler AppVersionRes
|
||||||
getVersionR = do
|
getVersionR = do
|
||||||
@@ -48,4 +48,4 @@ getVersionWSpec rootDir ext = do
|
|||||||
getSystemStatusR :: Handler OSVersionRes
|
getSystemStatusR :: Handler OSVersionRes
|
||||||
getSystemStatusR = do
|
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.
|
-- 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)
|
||||||
|
|||||||
Reference in New Issue
Block a user