mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 16:32:26 -05:00
[bugfix] Fix preposterous characters reserved per URL amount (#809)
* clarify docs * tidy up consts, set reserved chars much lower * update tests
This commit is contained in:
parent
d09ddb4769
commit
a26280b31a
4 changed files with 23 additions and 14 deletions
|
|
@ -111,9 +111,9 @@ type InstanceConfigurationStatuses struct {
|
|||
//
|
||||
// example: 4
|
||||
MaxMediaAttachments int `json:"max_media_attachments"`
|
||||
// Amount of characters that a URL will be compressed to.
|
||||
// Amount of characters clients should assume a url takes up.
|
||||
//
|
||||
// example: 999
|
||||
// example: 25
|
||||
CharactersReservedPerURL int `json:"characters_reserved_per_url"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue