From eca1d4f96b45ab1f1bd904cba21c16aa42d51446 Mon Sep 17 00:00:00 2001 From: Filippo Ledda Date: Mon, 27 Mar 2023 15:46:23 +0200 Subject: [PATCH] Fix regression on spawning --- .../osb-portal/src/components/workspace/WorkspaceFrame.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/osb-portal/src/components/workspace/WorkspaceFrame.tsx b/applications/osb-portal/src/components/workspace/WorkspaceFrame.tsx index 471ee588..c0d174dd 100644 --- a/applications/osb-portal/src/components/workspace/WorkspaceFrame.tsx +++ b/applications/osb-portal/src/components/workspace/WorkspaceFrame.tsx @@ -86,8 +86,9 @@ export const WorkspaceFrame = (props: { // Dev setFrameUrl(`${applicationDomain}/geppetto`); } else { + // The frame url must be different for each user and workspace and application so jupyterhub does not return the same ws setFrameUrl( - `//${applicationDomain}` + `//${applicationDomain}/hub/spawn/${userParam}/${workspace.id}${type}` ); } openResource();