gotosocial/internal/api/security/extraheaders.go
2021-06-24 14:26:08 +02:00

8 lines
206 B
Go

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