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 Jul 1, 2021
1 parent 59142a2 commit c2e3070
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 c2e3070

Please sign in to comment.