Update NodeInfo support to 2.1 (#79)

This commit is contained in:
Julien Lavergne
2019-05-24 09:18:19 +02:00
committed by Thomas Citharel
parent 77d766c143
commit a2c181f7fe
3 changed files with 19 additions and 13 deletions

View File

@@ -13,7 +13,8 @@ config :mobilizon, :instance,
name: System.get_env("MOBILIZON_INSTANCE_NAME") || "Localhost",
description: System.get_env("MOBILIZON_INSTANCE_DESCRIPTION") || "This is a Mobilizon instance",
version: "1.0.0-dev",
registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN") || false
registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN") || false,
repository: Mix.Project.config()[:source_url]
config :mime, :types, %{
"application/activity+json" => ["activity-json"],