rstudio / rsconnect-jupyter

Publish Jupyter notebooks to RStudio Connect
GNU General Public License v2.0
25 stars 6 forks source link

Add common internet filetypes to Voila.file_whitelist configuration #353

Closed tdstein closed 1 year ago

tdstein commented 1 year ago

Add JavaScript (and possibly others) to the file whitelist option when launching voila applications.

--VoilaConfiguration.file_whitelist=<list-item-1>...
    List of regular expressions for controlling which static files are served.
    All files that are served should at least match 1 whitelist rule, and no
    blacklist rule Example:
    --VoilaConfiguration.file_whitelist="['.*\.(png|jpg|gif|svg)', 'public.*']"
    Default: ['.*\\.(png|jpg|gif|svg)']