adds torrc endpoints

This commit is contained in:
Keagan McClelland
2019-12-27 02:21:24 -07:00
parent c0c46b6a06
commit bbb6eb2fab
5 changed files with 8 additions and 49 deletions

View File

@@ -46,6 +46,9 @@ getAgentR = getApp sysResourceDir "agent"
getAppMgrR :: Handler TypedContent
getAppMgrR = getApp sysResourceDir "appmgr"
getTorrcR :: Handler TypedContent
getTorrcR = getApp sysResourceDir "torrc"
getAppR :: S9PK -> Handler TypedContent
getAppR (S9PK appId) = getApp appResourceDir appId