mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-06 19:49:31 -06:00
worky worky quite contrerky
This commit is contained in:
parent
d09a8a1f05
commit
eb57c95c14
25 changed files with 544 additions and 216 deletions
8
internal/api/security/extraheaders.go
Normal file
8
internal/api/security/extraheaders.go
Normal file
|
|
@ -0,0 +1,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")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue