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 May 28, 2021
1 parent 1b156ec commit a6e5abb
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 a6e5abb

Please sign in to comment.