Skip to content

Commit

Permalink
Redirect root to docs endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmor1 committed Jun 4, 2024
1 parent f3b4038 commit 2c5d3b2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api.R
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,14 @@ function() {

}

#* @get /
function(res) {

res$status <- 303L
res$setHeader("Location", "/__docs__/")

}

#* @plumber
function(pr) {

Expand Down

0 comments on commit 2c5d3b2

Please sign in to comment.