diff options
author | marcin mikołajczak <git@mkljczk.pl> | 2024-09-16 13:33:56 +0200 |
---|---|---|
committer | marcin mikołajczak <git@mkljczk.pl> | 2024-09-16 13:44:36 +0200 |
commit | 309d22aca2ec0557b27c8e3d8d12b088061e0142 (patch) | |
tree | ff06ab23070fb196c16107da5882068661c80fc5 /config | |
parent | ad953143bb00d67eb981806981f8ef3e35c437e1 (diff) | |
download | pleroma-309d22aca2ec0557b27c8e3d8d12b088061e0142.tar.gz pleroma-309d22aca2ec0557b27c8e3d8d12b088061e0142.zip |
Allow disabling C2S ActivityPub API
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 3 | ||||
-rw-r--r-- | config/description.exs | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index cd9a2539f..b910b160d 100644 --- a/config/config.exs +++ b/config/config.exs @@ -359,7 +359,8 @@ config :pleroma, :activitypub, follow_handshake_timeout: 500, note_replies_output_limit: 5, sign_object_fetches: true, - authorized_fetch_mode: false + authorized_fetch_mode: false, + client_api_enabled: true config :pleroma, :streamer, workers: 3, diff --git a/config/description.exs b/config/description.exs index 15faecb38..7a714deff 100644 --- a/config/description.exs +++ b/config/description.exs @@ -1772,6 +1772,11 @@ config :pleroma, :config_description, [ type: :integer, description: "Following handshake timeout", suggestions: [500] + }, + %{ + key: :client_api_enabled, + type: :boolean, + description: "Allow client to server ActivityPub interactions" } ] }, |