You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For v. 0.3.0, when launching as a directory, clicking on a file link (displayed by FileLink) in an app it does not forward to expected path of /voila/files/my_report.html.
The user is instead taken to /voila/render/my_report.html
This does not happen with v. 0.2.16
Reproduce
Files:
docker-compose.yml
Dockerfile
requirement.txt
test.ipynb
requirements.txt
voila
notebook
or
voila<0.3
notebook
test.ipynb
fromIPython.displayimportdisplay, FileLinkfpath='./my_report.html'withopen(fpath, "w") asf:
f.write('<h1>My Report</h1>\n')
f.write('All the details\n')
display(FileLink(fpath))
Description
For v. 0.3.0, when launching as a directory, clicking on a file link (displayed by
FileLink
) in an app it does not forward to expected path of/voila/files/my_report.html
.The user is instead taken to
/voila/render/my_report.html
This does not happen with v. 0.2.16
Reproduce
Files:
requirements.txt
or
test.ipynb
Dockerfile
docker-compose.yml
Run app with
docker-compose up
, access at localhost:8866. Click on link test.ipynb link to access that app.Expected behavior
For both voila 0.2 and 0.3, a hyperlink shows up after launching the app that points to:
http://localhost:8866/voila/render/my_report.html
For v 0.2.16, it redirects to: http://localhost:8866/voila/files/my_report.html
For v 0.3.0, however, it does not forward so you get a 500 error at http://localhost:8866/voila/render/my_report.html
I didn't notice this issue when launching as an individual notebook, only as a directory.
Thank you!
The text was updated successfully, but these errors were encountered: