voila-dashboards / voila

Voilà turns Jupyter notebooks into standalone web applications
https://voila.readthedocs.io
Other
5.33k stars 497 forks source link

403 errors over files whitelisting for API endpoints #1325

Open SylvainCorlay opened 1 year ago

SylvainCorlay commented 1 year ago

With the current main branch of voilà (commit 32bd721435910f01db6768c4d83ddaa2d475508f), I am seeing the following console errors:

403 GET /voila/files/favicon.ico (::1): File not whitelisted
403 GET /voila/files/favicon.ico (::1) 3.00ms
403 GET /voila/files/api/kernelspecs (::1): File not whitelisted
403 GET /voila/files/api/kernelspecs (::1) 0.27ms
403 GET /voila/files/api/me (::1): File not whitelisted
403 GET /voila/files/api/me (::1) 0.40ms
[Voila] Connecting to kernel 4713c05c-7386-495b-81f6-14c28f9c206d.
403 GET /voila/files/api/kernels (::1): File not whitelisted
403 GET /voila/files/api/kernels (::1) 0.29ms
403 GET /voila/files/api/sessions (::1): File not whitelisted
403 GET /voila/files/api/sessions (::1) 0.27ms