File tree Expand file tree Collapse file tree
packages/plugins/apps/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,14 +131,10 @@ Would have uploaded ${summary}`,
131131
132132 log . debug ( `Uploaded ${ summary } \n` ) ;
133133
134- if ( response . version_id && response . application_id && response . app_builder_id ) {
135- const { version_id, application_id, app_builder_id } = response ;
136- const appUrl = `https://api.${ context . site } /api/unstable/app-builder-code/apps/serve/${ application_id } /v/${ version_id } /index.html` ;
137- const appBuilderUrl = `https://app.${ context . site } /app-builder/apps/${ app_builder_id } ` ;
138-
139- log . info (
140- `Your application is available at:\n${ bold ( 'Standalone :' ) } \n ${ cyan ( appUrl ) } \n\n${ bold ( 'AppBuilder :' ) } \n ${ cyan ( appBuilderUrl ) } ` ,
141- ) ;
134+ if ( response . app_builder_id ) {
135+ const appBuilderUrl = `https://app.${ context . site } /app-builder/apps/${ response . app_builder_id } ` ;
136+
137+ log . info ( `Your application is available at:\n ${ cyan ( appBuilderUrl ) } ` ) ;
142138 }
143139
144140 const versionName = getDDEnvValue ( 'APPS_VERSION_NAME' ) ?. trim ( ) ;
You can’t perform that action at this time.
0 commit comments