diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-02-05 07:56:36 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-02-05 07:56:36 +0300 |
commit | e84fee5b8624c8909ddd8a7e0d99c6beea4f54d0 (patch) | |
tree | d0d2bfc3d847f9bb4fa03f08d9d60f49042b2688 /lib/mix/tasks/pleroma/robotstxt.ex | |
parent | 86e4d23acb640efea8cbc879ddbeadfa0e04f9c8 (diff) | |
parent | a56db789359c7c7d57b45e6c68f791eeadc171e4 (diff) | |
download | pleroma-e84fee5b8624c8909ddd8a7e0d99c6beea4f54d0.tar.gz |
Merge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation
Diffstat (limited to 'lib/mix/tasks/pleroma/robotstxt.ex')
-rw-r--r-- | lib/mix/tasks/pleroma/robotstxt.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mix/tasks/pleroma/robotstxt.ex b/lib/mix/tasks/pleroma/robotstxt.ex index 2128e1cd6..e99dd8502 100644 --- a/lib/mix/tasks/pleroma/robotstxt.ex +++ b/lib/mix/tasks/pleroma/robotstxt.ex @@ -18,6 +18,7 @@ defmodule Mix.Tasks.Pleroma.RobotsTxt do """ def run(["disallow_all"]) do + Mix.Pleroma.start_pleroma() static_dir = Pleroma.Config.get([:instance, :static_dir], "instance/static/") if !File.exists?(static_dir) do |