diff options
author | 2022-09-08 12:36:42 +0200 | |
---|---|---|
committer | 2022-09-08 12:36:42 +0200 | |
commit | a26280b31a58e958cce3575a0917d1036290479b (patch) | |
tree | b3949e08be67ce6f0b4cb4485e588b86ecb2d714 /internal/api/model/instance.go | |
parent | [feature] opengraph meta tags (#806) (diff) | |
download | gotosocial-a26280b31a58e958cce3575a0917d1036290479b.tar.xz |
[bugfix] Fix preposterous characters reserved per URL amount (#809)
* clarify docs
* tidy up consts, set reserved chars much lower
* update tests
Diffstat (limited to 'internal/api/model/instance.go')
-rw-r--r-- | internal/api/model/instance.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/model/instance.go b/internal/api/model/instance.go index 721bb8fce..aec42f8b1 100644 --- a/internal/api/model/instance.go +++ b/internal/api/model/instance.go @@ -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"` } |