Add config endpoint

This commit is contained in:
Chocobozzz
2019-03-22 10:53:38 +01:00
parent 0b1845a1fb
commit e864b38ec6
11 changed files with 157 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ config :mobilizon,
config :mobilizon, :instance,
name: System.get_env("MOBILIZON_INSTANCE_NAME") || "Localhost",
version: "1.0.0-dev",
registrations_open: true
registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN") || true
config :mime, :types, %{
"application/activity+json" => ["activity-json"],