mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02: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:
@ -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"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user