URL to csv file returns "Not found"

I have set up a shiny server which hosts an Rmd file with some shiny apps. It loads a data.csv file, and I'd like to put in a plain HTML link to this file, so users can inspect it. But when I type in <ip-adress>:3838/data.csv, it returns "Not found" in the browser.

Using downloadHandler seems overly complicated for this simple case. Is there a way to make URLs to files work?

Shiny is not meant to serve individual files, one option is to serve this file from a proper web server (e.g. Nginx) by making your Rmd script to save the file in the www folder, so you can access it with <ip-adress>/data.csv

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.