Move robots.txt and favicon from config/ to new embed/ dir

This commit is contained in:
fr33domlover 2022-07-25 17:40:19 +00:00
parent b3cd7ca28f
commit 066285d3a3
4 changed files with 3 additions and 3 deletions

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

View file

@ -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")