voila
voila copied to clipboard
Voila doesn't render html file despite whitelisted. Getting 403 Internal Error
Any way to solve this?
I tried many methods including
--VoilaConfiguration.file_whitelist="['.*\.(png|jpg|gif|svg|pdf|mp4|avi|ogg|html)']"
None of them worked. I am trying to display an IFrame that reads an html file inside the notebook folder Thanks
Hi, can you provide a snippet to reproduce the issue?
I am experiencing the same issue when running Voila on Binder. I have been trying to place the voilaConfiguration in the voila.json on the repo but seems Voila is not picking it up and return 403 error when reading HTML files.
Repo: https://github.com/aeriosk/test
Running the notebook on Binder: https://mybinder.org/v2/gh/aeriosk/test/master?filepath=test_pivot.ipynb
Running the notebook on Binder with Voila: https://mybinder.org/v2/gh/aeriosk/test/master?urlpath=voila/render/test_pivot.ipynb
I am using pivottablejs package which generate pivottablejs.html file to be displayed in the notebook. Thanks.
similar experience
try to effectively not blacklist anything: file_blacklist="sdfsdafsdfsdf"
I am also running a notebook on Binder, and I'm having a similar issue. Do you know if this would be the correct syntax to include in voila.json?
"VoilaConfiguration": { "file_whitelist": [".*\.(zip|db)", "public.*"] }