-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify that the custom Emscripten FS from JupyterLite can be used #3
Comments
Just checked with Voici 0.2.0 via the Voici Demo and it appears the Service Worker can't be found. This looks like an issue with the base URL: |
That empty string looks unexpected since there the Lines 142 to 145 in 8069c95
|
As a comparison the Lines 52 to 54 in bfb048b
Appears to be defined correctly on the page: @martinRenou do you know if the page config |
It's not impossible that Voila itself overrides the baseUrl? |
Right, I'm not exactly sure how the empty However, this seems to be triggering the following code path in JupyterLab export function getOption(name: string): string {
if (configData) {
return configData[name] || getBodyData(name);
}
Which <body data-base-url="{{ base_url }}voila/"> Most likely that's why there is a |
Digging a bit more, Voila seems to be updating the page config {# Set a dummy variable - we just want the side effect of the update. #}
{% set _ = page_config_full.update(baseUrl=resources.base_url, kernelId=kernel_id) %} So if |
Problem
JupyterLite can provide access to local files using a custom Emscripten File System, we should check that Voilite works properly with it
The text was updated successfully, but these errors were encountered: