Skip to content

Commit

Permalink
Update caddyconfig/httpcaddyfile/directives.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
  • Loading branch information
francislavoie and mholt authored Mar 5, 2024
1 parent 41cd717 commit d45b370
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions caddyconfig/httpcaddyfile/directives.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ func RegisterHandlerDirective(dir string, setupFunc UnmarshalHandlerFunc) {
// to ('before' or 'after') a directive included in Caddy's
// standard distribution. It cannot be relative to another
// plugin's directive.
//
// EXPERIMENTAL: This API may change or be removed.
func RegisterDirectiveOrder(dir string, position Positional, standardDir string) {
// check if directive was already ordered
if directiveIsOrdered(dir) {
Expand Down

0 comments on commit d45b370

Please sign in to comment.