nodeinfo compliance

This commit is contained in:
tsmethurst 2021-06-24 14:22:26 +02:00
commit 0433ec7e5d
14 changed files with 285 additions and 46 deletions

View file

@ -4,5 +4,5 @@ import "github.com/gin-gonic/gin"
// ExtraHeaders adds any additional required headers to the response
func (m *Module) ExtraHeaders(c *gin.Context) {
c.Header("Server", "Mastodon")
c.Header("Server", "gotosocial")
}