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