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/plugs/instance_static.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/plugs/instance_static.ex')
-rw-r--r-- | lib/pleroma/plugs/instance_static.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/plugs/instance_static.ex b/lib/pleroma/plugs/instance_static.ex index 41125921a..a64f1ea80 100644 --- a/lib/pleroma/plugs/instance_static.ex +++ b/lib/pleroma/plugs/instance_static.ex @@ -21,7 +21,8 @@ defmodule Pleroma.Plugs.InstanceStatic do end end - @only ~w(index.html static emoji packs sounds images instance favicon.png sw.js sw-pleroma.js) + @only ~w(index.html robots.txt static emoji packs sounds images instance favicon.png sw.js + sw-pleroma.js) def init(opts) do opts |