Blacklist myhtmlex nodes from swarm
authorrinpatch <rinpatch@sdf.org>
Mon, 28 Oct 2019 22:16:22 +0000 (01:16 +0300)
committerrinpatch <rinpatch@sdf.org>
Mon, 28 Oct 2019 22:16:22 +0000 (01:16 +0300)
config/config.exs

index e2b00bda10d9d9a7b7e8d091e41440495fcd9348..81d50cdeec81a4f90f2b8d1bde8e0f0e1e43aea9 100644 (file)
@@ -603,6 +603,7 @@ config :pleroma, :web_cache_ttl,
   activity_pub: nil,
   activity_pub_question: 30_000
 
+config :swarm, node_blacklist: [~r/myhtmlex_.*$/]
 # Import environment specific config. This must remain at the bottom
 # of this file so it overrides the configuration defined above.
 import_config "#{Mix.env()}.exs"