diff --git a/packages/cli/src/commands/proxy/connect.ts b/packages/cli/src/commands/proxy/connect.ts index 26415fdb..2d3779b5 100644 --- a/packages/cli/src/commands/proxy/connect.ts +++ b/packages/cli/src/commands/proxy/connect.ts @@ -21,10 +21,9 @@ export default class Connect extends ProfileCommand { description: 'specify the environment ID for this app', required: false, }), - 'disable-widget': Flags.boolean({ - default: true, + 'enable-widget': Flags.boolean({ + default: false, hidden: true, - allowNo: true, }), 'livecycle-widget-url': Flags.string({ required: true, @@ -102,7 +101,7 @@ export default class Connect extends ProfileCommand { tunnelOpts, networks, privateMode: flags['private-env'], - injectLivecycleScript: flags['disable-widget'] ? undefined : `${flags['livecycle-widget-url']}?profile=${thumbprint}&env=${envId}`, + injectLivecycleScript: flags['enable-widget'] ? `${flags['livecycle-widget-url']}?profile=${thumbprint}&env=${envId}` : undefined, tunnelingKeyThumbprint: thumbprint, projectDirectory, })