GoToSocial/internal/api/security/extraheaders.go

9 lines
204 B
Go
Raw Normal View History

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