merging release default config on app start

This commit is contained in:
Alexander Strizhakov 2020-03-11 16:25:53 +03:00
commit 282a93554f
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
10 changed files with 58 additions and 58 deletions

View file

@ -15,7 +15,7 @@ defmodule Pleroma.Docs.JSON do
end
def compile do
with config <- Pleroma.Config.Loader.load("config/description.exs") do
with config <- Pleroma.Config.Loader.read("config/description.exs") do
config[:pleroma][:config_description]
|> Pleroma.Docs.Generator.convert_to_strings()
|> Jason.encode!()