Skip to content

Commit 21c910d

Browse files
committed
Mention controlling 404 responses for Plumber in the README.
1 parent 9c75be4 commit 21c910d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ $ curl -vs localhost:4444/bug
178178
}
179179
```
180180

181+
You may also wish to use `not_found()` for Plumber's 404 handler via
182+
`pr_set_404()`.
183+
181184
## License
182185

183186
Copyright 2021 Aaron Jacobs

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ $ curl -vs localhost:4444/bug
185185
}
186186
```
187187

188+
You may also wish to use `not_found()` for Plumber’s 404 handler via
189+
`pr_set_404()`.
190+
188191
## License
189192

190193
Copyright 2021 Aaron Jacobs

0 commit comments

Comments
 (0)