summaryrefslogtreecommitdiff
path: root/internal/api/security/extraheaders.go
blob: dfcddfbe13e6a0f8004e45d0f43403939406068f (plain)
1
2
3
4
5
6
7
8
package security

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")
}