mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 10:21:51 +00:00
get settings
This commit is contained in:
@@ -41,7 +41,7 @@ instance Show FileExtension where
|
||||
getAppsManifestR :: Handler TypedContent
|
||||
getAppsManifestR = do
|
||||
AppSettings{..} <- appSettings <$> getYesod
|
||||
let appResourceDir = resourcesDir </> "apps" </> "apps.yaml"
|
||||
let appResourceDir = (resourcesDir . appSettings <$> getYesod) </> "apps" </> "apps.yaml"
|
||||
respondSource typePlain $ CB.sourceFile appResourceDir .| awaitForever sendChunkBS
|
||||
|
||||
getSysR :: Extension "" -> Handler TypedContent
|
||||
|
||||
Reference in New Issue
Block a user