Skip to content

Commit

Permalink
Pass server settings to KernelAPI.getKernelModel
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Apr 29, 2021
1 parent 889e93b commit 8ae6997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/voila/src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const widgetManager: JupyterFrontEndPlugin<IJupyterWidgetRegistry> = {
const kernelId = PageConfig.getOption('kernelId');
const serverSettings = ServerConnection.makeSettings({ baseUrl });

const model = await KernelAPI.getKernelModel(kernelId);
const model = await KernelAPI.getKernelModel(kernelId, serverSettings);
if (!model) {
return {
registerWidget(data: IWidgetRegistryData): void {
Expand Down

0 comments on commit 8ae6997

Please sign in to comment.