summaryrefslogtreecommitdiff
path: root/internal/api/security/extraheaders.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-06-24 14:26:08 +0200
committerLibravatar GitHub <noreply@github.com>2021-06-24 14:26:08 +0200
commitc1e107266fc47e59657825f1178f5e79c78ab0e6 (patch)
tree1daa297f6e61bead4ed3d728fedc2a39604d377f /internal/api/security/extraheaders.go
parentTimeline bugfix (#60) (diff)
downloadgotosocial-c1e107266fc47e59657825f1178f5e79c78ab0e6.tar.xz
nodeinfo compliance (#61)
Diffstat (limited to 'internal/api/security/extraheaders.go')
-rw-r--r--internal/api/security/extraheaders.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/security/extraheaders.go b/internal/api/security/extraheaders.go
index dfcddfbe1..bcb41e0c0 100644
--- a/internal/api/security/extraheaders.go
+++ b/internal/api/security/extraheaders.go
@@ -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")
}