Add poll limits to /api/v1/instance and initial state
This commit is contained in:
parent
6430cb1bf7
commit
76a7429bef
4 changed files with 16 additions and 2 deletions
|
|
@ -211,6 +211,12 @@ config :pleroma, :instance,
|
|||
avatar_upload_limit: 2_000_000,
|
||||
background_upload_limit: 4_000_000,
|
||||
banner_upload_limit: 4_000_000,
|
||||
poll_limits: %{
|
||||
max_options: 20,
|
||||
max_option_chars: 200,
|
||||
min_expiration: 0,
|
||||
max_expiration: 365 * 24 * 60 * 60
|
||||
},
|
||||
registrations_open: true,
|
||||
federating: true,
|
||||
federation_reachability_timeout_days: 7,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue