diff options
author | William Pearson <uiri00@gmail.com> | 2019-01-20 01:44:00 +0000 |
---|---|---|
committer | William Pearson <uiri00@gmail.com> | 2019-03-15 02:28:18 +0000 |
commit | 3dadaa4432b442d75b0ac0425aa05527d52f0e7a (patch) | |
tree | 84b54ea9b38a8765a3cdda450e4bf9d61a9e7c4c /lib/pleroma/web/endpoint.ex | |
parent | 4e72762322a5616ce426df62888ee3bc7af19dc8 (diff) | |
download | pleroma-3dadaa4432b442d75b0ac0425aa05527d52f0e7a.tar.gz |
robots.txt
Add default robots.txt that allows bots access to all paths.
Add mix task to generate robots.txt taht allows bots access to no paths.
Document custom emojis, MRF and static_dir
static_dir documentation includes docs for the robots.txt Mix task.
Diffstat (limited to 'lib/pleroma/web/endpoint.ex')
-rw-r--r-- | lib/pleroma/web/endpoint.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex index 697b1bc3a..fa2d1cbe7 100644 --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@ -25,7 +25,7 @@ defmodule Pleroma.Web.Endpoint do at: "/", from: :pleroma, only: - ~w(index.html static finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc) + ~w(index.html robots.txt static finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc) # credo:disable-for-previous-line Credo.Check.Readability.MaxLineLength ) |