Add keybase.txt support

This commit is contained in:
Danielle McLean 2017-10-03 20:41:26 +11:00
parent af4fd6cb0a
commit 023b720be7
Signed by: 00dani
GPG key ID: 3844A6973C6058F1
3 changed files with 59 additions and 0 deletions

View file

@ -17,6 +17,10 @@ getFaviconR = do cacheSeconds $ 60 * 60 * 24 * 30 -- cache for a month
return $ TypedContent "image/x-icon"
$ toContent $(embedFile "config/favicon.ico")
getKeybaseR :: Handler TypedContent
getKeybaseR = return $ TypedContent typePlain
$ toContent $(embedFile "config/keybase.txt")
getRobotsR :: Handler TypedContent
getRobotsR = return $ TypedContent typePlain
$ toContent $(embedFile "config/robots.txt")