@marcel91200 / caddy Mirror · read-only / commits / 72e7edda
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 13, 09:15 UTC

map: Clarified how destination values should be formatted (#5156)

Scott Mebberson committed Oct 19, 2022 at 10:44 UTC 72e7edda1f79f36dad1f0aa60a3603e3f4f44412
1 file changed +1
modules/caddyhttp/map/map.go
+1
@@ -40,6 +40,7 @@ type Handler struct {
40 Source string `json:"source,omitempty"`
41
42 // Destinations are the names of placeholders in which to store the outputs.
43 + // Destination values should be wrapped in braces, for example, {my_placeholder}.
44 Destinations []string `json:"destinations,omitempty"`
45
46 // Mappings from source values (inputs) to destination values (outputs).