Skip to content

Commit

Permalink
Add #END to the basic snippet
Browse files Browse the repository at this point in the history
The debug.yaml needs a trailing #END (just like the routes.yaml)

The first sample misses it. This PR fixes it.
  • Loading branch information
nfrankel authored Nov 24, 2023
1 parent ec77fb8 commit ff8a627
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/latest/debug-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ You can enable the basic debug mode by adding this line to your debug configurat
```yaml title="conf/debug.yaml"
basic:
enable: true
#END
```

APISIX loads the configurations of `debug.yaml` on startup and then checks if the file is modified on an interval of 1 second. If the file is changed, APISIX automatically applies the configuration changes.
Expand Down

0 comments on commit ff8a627

Please sign in to comment.