Skip to content

Commit

Permalink
use non-Stated appDefinition for session startup
Browse files Browse the repository at this point in the history
  • Loading branch information
iyannsch committed Nov 5, 2024
1 parent ea839c2 commit 7d751f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion node/landing-page/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7d751f2

Please sign in to comment.