From c2e307013f36df63dcbfa7bf085f48afc2475b03 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Thu, 29 Apr 2021 10:26:10 +0200 Subject: [PATCH] Pass server settings to KernelAPI.getKernelModel --- packages/voila/src/plugins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/voila/src/plugins.ts b/packages/voila/src/plugins.ts index f27bfa8d2..9aa6061a3 100644 --- a/packages/voila/src/plugins.ts +++ b/packages/voila/src/plugins.ts @@ -86,7 +86,7 @@ const widgetManager: JupyterFrontEndPlugin = { 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 {