mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 13:52:25 -05:00
[feature/frontend] Add debug sections to settings panel (#2950)
* [feature/frontend] Add debug sections to settings panel * max-width * swagger
This commit is contained in:
parent
04bcde08a1
commit
d79c2f2688
15 changed files with 395 additions and 22 deletions
|
|
@ -59,6 +59,8 @@ type InstanceV1 struct {
|
|||
//
|
||||
// example: 0.1.1 cb85f65
|
||||
Version string `json:"version"`
|
||||
// Whether or not instance is running in DEBUG mode. Omitted if false.
|
||||
Debug *bool `json:"debug,omitempty"`
|
||||
// Primary language of the instance.
|
||||
// example: ["en"]
|
||||
Languages []string `json:"languages"`
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ type InstanceV2 struct {
|
|||
//
|
||||
// example: 0.1.1 cb85f65
|
||||
Version string `json:"version"`
|
||||
// Whether or not instance is running in DEBUG mode. Omitted if false.
|
||||
Debug *bool `json:"debug,omitempty"`
|
||||
// The URL for the source code of the software running on this instance, in keeping with AGPL license requirements.
|
||||
// example: https://github.com/superseriousbusiness/gotosocial
|
||||
SourceURL string `json:"source_url"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue