Merge branch 'develop' into feature/new-registrations-digest
[akkoma] / lib / mix / tasks / pleroma / robotstxt.ex
index 2128e1cd684d74b5256af7dffbdb857097ba425c..e99dd8502b675dc15b3f60410936a5ce3079f8fd 100644 (file)
@@ -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