From 7d751f2cc8a164d9fe3f366fdc77739338bfe2a4 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Tue, 5 Nov 2024 12:15:20 +0100 Subject: [PATCH] use non-Stated appDefinition for session startup --- node/landing-page/src/App.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/node/landing-page/src/App.tsx b/node/landing-page/src/App.tsx index 37cdd8c5..10254715 100644 --- a/node/landing-page/src/App.tsx +++ b/node/landing-page/src/App.tsx @@ -222,7 +222,7 @@ function App(): JSX.Element { const workspace = config.useEphemeralStorage ? undefined - : 'ws-' + selectedAppDefinition + '-' + repoName + '-' + username; + : 'ws-' + appDefinition + '-' + repoName + '-' + username; console.log('Launching ' + appDefinition + ' in workspace ' + workspace); @@ -288,6 +288,8 @@ function App(): JSX.Element { // ? LaunchRequest.ephemeral(config.serviceUrl, config.appId, appDefinition, 5, email) // : LaunchRequest.createWorkspace(config.serviceUrl, config.appId, appDefinition, 5, email, workspace), + // TheiaCloud.Session.list + TheiaCloud.launchAndRedirect( launchRequest, requestOptions