mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
add architecture to version table; refactor to remove dependency on apps.yaml
This commit is contained in:
committed by
Keagan McClelland
parent
8f20f68c5e
commit
d2f8db82cf
@@ -31,6 +31,7 @@ getVersionAppR appId = do
|
||||
getVersionWSpec appsDir appExt
|
||||
where appExt = Extension (toS appId) :: Extension "s9pk"
|
||||
|
||||
-- @TODO update to using db record
|
||||
getVersionSysR :: Text -> Handler (Maybe AppVersionRes)
|
||||
getVersionSysR sysAppId = runMaybeT $ do
|
||||
sysDir <- (</> "sys") . resourcesDir . appSettings <$> getYesod
|
||||
|
||||
Reference in New Issue
Block a user