mirror of
https://github.com/Start9Labs/registry.git
synced 2026-04-01 20:44:15 +00:00
generalizes
This commit is contained in:
@@ -42,14 +42,8 @@ getAppsManifestR = respondSource typePlain $ CB.sourceFile appManifestPath .| aw
|
||||
getImageR :: Handler TypedContent
|
||||
getImageR = getApp resourcesDir ("sys" :: Extension "tar.gz")
|
||||
|
||||
getAgentR :: Handler TypedContent
|
||||
getAgentR = getApp sysResourceDir ("agent" :: Extension "")
|
||||
|
||||
getAppMgrR :: Handler TypedContent
|
||||
getAppMgrR = getApp sysResourceDir ("appmgr" :: Extension "")
|
||||
|
||||
getTorrcR :: Handler TypedContent
|
||||
getTorrcR = getApp sysResourceDir ("torrc" :: Extension "")
|
||||
getSysR :: Extension "" -> Handler TypedContent
|
||||
getSysR = getApp sysResourceDir
|
||||
|
||||
getAppR :: Extension "s9pk" -> Handler TypedContent
|
||||
getAppR = getApp appResourceDir
|
||||
|
||||
Reference in New Issue
Block a user