instance.gen task: make instance name default to the domain
authorrinpatch <rinpatch@sdf.org>
Tue, 25 Feb 2020 18:59:37 +0000 (21:59 +0300)
committerrinpatch <rinpatch@sdf.org>
Tue, 25 Feb 2020 18:59:37 +0000 (21:59 +0300)
lib/mix/tasks/pleroma/instance.ex

index 2d8b8d67373ebc5edf2e5c9e860f35983a868472..fee2ab9d93a8a87b0c2892182995a572133d5a2d 100644 (file)
@@ -65,7 +65,8 @@ defmodule Mix.Tasks.Pleroma.Instance do
         get_option(
           options,
           :instance_name,
-          "What is the name of your instance? (e.g. Pleroma/Soykaf)"
+          "What is the name of your instance? (e.g. Pleroma/Soykaf)",
+          domain
         )
 
       email = get_option(options, :admin_email, "What is your admin email address?")