Move robots.txt and favicon from config/ to new embed/ dir
This commit is contained in:
parent
b3cd7ca28f
commit
066285d3a3
4 changed files with 3 additions and 3 deletions
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
|
@ -33,16 +33,16 @@ getFaviconSvgR :: Handler TypedContent
|
|||
getFaviconSvgR =
|
||||
return $
|
||||
TypedContent "image/svg+xml" $
|
||||
toContent $(embedFile "config/favicon.svg")
|
||||
toContent $(embedFile "embed/favicon.svg")
|
||||
|
||||
getFaviconPngR :: Handler TypedContent
|
||||
getFaviconPngR =
|
||||
return $
|
||||
TypedContent "image/png" $
|
||||
toContent $(embedFile "config/favicon.png")
|
||||
toContent $(embedFile "embed/favicon.png")
|
||||
|
||||
getRobotsR :: Handler TypedContent
|
||||
getRobotsR =
|
||||
return $
|
||||
TypedContent typePlain $
|
||||
toContent $(embedFile "config/robots.txt")
|
||||
toContent $(embedFile "embed/robots.txt")
|
||||
|
|
Loading…
Reference in a new issue