powered by
plumber
Add a static route to the plumber object
pr_static(pr, path, direc)
A Plumber API. Note: The supplied Plumber API object will also be updated in place as well as returned by the function.
The mounted path location of the static folder
The local folder to be served statically
if (FALSE) { pr() %>% pr_static("/path", "./my_folder/location") %>% pr_run() }
Run the code above in your browser using DataLab