nodeinfo compliance (#61)

This commit is contained in:
Tobi Smethurst 2021-06-24 14:26:08 +02:00 committed by GitHub
commit c1e107266f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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")
}