forked from AkkomaGang/akkoma
Add uploadlimit to Twitter API config
This commit is contained in:
parent
8764f64690
commit
578051809f
1 changed files with 1 additions and 0 deletions
|
@ -165,6 +165,7 @@ def config(conn, _params) do
|
||||||
description: Keyword.get(instance, :description),
|
description: Keyword.get(instance, :description),
|
||||||
server: Web.base_url(),
|
server: Web.base_url(),
|
||||||
textlimit: to_string(Keyword.get(instance, :limit)),
|
textlimit: to_string(Keyword.get(instance, :limit)),
|
||||||
|
uploadlimit: to_string(Keyword.get(instance, :upload_limit)),
|
||||||
closed: if(Keyword.get(instance, :registrations_open), do: "0", else: "1"),
|
closed: if(Keyword.get(instance, :registrations_open), do: "0", else: "1"),
|
||||||
private: if(Keyword.get(instance, :public, true), do: "0", else: "1"),
|
private: if(Keyword.get(instance, :public, true), do: "0", else: "1"),
|
||||||
vapidPublicKey: vapid_public_key
|
vapidPublicKey: vapid_public_key
|
||||||
|
|
Loading…
Reference in a new issue