mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-19 17:37:29 -06:00
fiddle with instance display
This commit is contained in:
parent
69000ed68e
commit
7d2bfd8537
7 changed files with 24 additions and 12 deletions
|
|
@ -34,5 +34,6 @@ func New(config *config.Config, processor processing.Processor, log *logrus.Logg
|
|||
// Route satisfies the ClientModule interface
|
||||
func (m *Module) Route(s router.Router) error {
|
||||
s.AttachHandler(http.MethodGet, InstanceInformationPath, m.InstanceInformationGETHandler)
|
||||
s.AttachHandler(http.MethodPatch, InstanceInformationPath, m.InstanceUpdatePATCHHandler)
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue