X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Fconfig.exs;h=826dd07b7e42a201db8617c30ed61dce2bd928d1;hb=04c584391ccb726a2b4b08dfd82a1ee27f36d31b;hp=fc8067b49504507432c4488d928dfd6505ebcee1;hpb=4afbef39f49948ddd3b1cd1bbda58ff7e3ac2785;p=akkoma diff --git a/config/config.exs b/config/config.exs index fc8067b49..826dd07b7 100644 --- a/config/config.exs +++ b/config/config.exs @@ -27,7 +27,8 @@ config :logger, :console, config :mime, :types, %{ "application/xrd+xml" => ["xrd+xml"], - "application/activity+json" => ["activity+json"] + "application/activity+json" => ["activity+json"], + "application/ld+json" => ["activity+json"] } config :pleroma, :websub, Pleroma.Web.Websub @@ -49,8 +50,19 @@ config :pleroma, :instance, name: "Pleroma", email: "example@example.com", limit: 5000, + upload_limit: 16_000_000, registrations_open: true, - federating: true + federating: true, + rewrite_policy: Pleroma.Web.ActivityPub.MRF.NoOpPolicy, + public: true + +config :pleroma, :activitypub, accept_blocks: true + +config :pleroma, :mrf_simple, + media_removal: [], + media_nsfw: [], + federated_timeline_removal: [], + reject: [] config :pleroma, :media_proxy, enabled: false, @@ -64,6 +76,11 @@ config :ecto, json_library: Jason config :phoenix, :format_encoders, json: Jason +config :pleroma, :gopher, + enabled: false, + ip: {0, 0, 0, 0}, + port: 9999 + # 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"