mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-31 02:27:19 -04:00 
			
		
		
		
	Rename directive requestid to request_id (#1757)
* rename requestid request_id * rename folder * folder name match package name requestid
This commit is contained in:
		
							parent
							
								
									4c700efbbb
								
							
						
					
					
						commit
						acc67eb3b2
					
				| @ -443,7 +443,7 @@ var directives = []string{ | ||||
| 	// services/utilities, or other directives that don't necessarily inject handlers | ||||
| 	"startup", | ||||
| 	"shutdown", | ||||
| 	"requestid", | ||||
| 	"request_id", | ||||
| 	"realip", // github.com/captncraig/caddy-realip | ||||
| 	"git",    // github.com/abiosoft/caddy-git | ||||
| 
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ import ( | ||||
| ) | ||||
| 
 | ||||
| func init() { | ||||
| 	caddy.RegisterPlugin("requestid", caddy.Plugin{ | ||||
| 	caddy.RegisterPlugin("request_id", caddy.Plugin{ | ||||
| 		ServerType: "http", | ||||
| 		Action:     setup, | ||||
| 	}) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user