summaryrefslogtreecommitdiff
path: root/internal/api/security/extraheaders.go
blob: bcb41e0c0aba7f194ebdb0c08ec83c902b6e6d2a (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", "gotosocial")
}