~fgaz/gemini-textboard

bd3baed74325619283d81006358f45cdb6a2b6cd — Francesco Gazzetta 4 months ago 290209e
robots.txt is plain text
1 files changed, 1 insertions(+), 1 deletions(-)

M app/Main.hs
M app/Main.hs => app/Main.hs +1 -1
@@ 237,7 237,7 @@ postHandler nonce content = do
  pure $ redirect $ fromJust $ parseRelativeReference $ "/thread/" <> show threadId

robotsTxt :: App Response
robotsTxt = pure $ okGemini $ encodeUtf8
robotsTxt = pure $ okPlain $ encodeUtf8
  "User-agent: *\n\
  \# Do not crawl submission pages\n\
  \Disallow: /post/\n\