mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 04:12:25 -06:00 
			
		
		
		
	
		
			
	
	
		
			9 lines
		
	
	
	
		
			204 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			9 lines
		
	
	
	
		
			204 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", "Mastodon")
							 | 
						||
| 
								 | 
							
								}
							 |