From b1591f2c3ca8ee9752c510f439ac4fedbce1f9c6 Mon Sep 17 00:00:00 2001 From: Lisi Linhart Date: Tue, 2 May 2023 14:58:24 +0200 Subject: [PATCH 1/2] fix: switch default behaviour --- src/prompts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prompts.js b/src/prompts.js index 625a70b..435269f 100644 --- a/src/prompts.js +++ b/src/prompts.js @@ -50,8 +50,8 @@ module.exports = [ { type: 'confirm', name: 'localmode', - message: 'Storyblok will be served locally on your localhost instead of app.storyblok.com', + message: 'Serve Storyblok locally (to skip https setup, not recommended)', prefix: '💻', - default: true, + default: false, }, ] From a0072f0aab38cce3316909412e8aa7d741e478de Mon Sep 17 00:00:00 2001 From: Lisi Linhart Date: Tue, 2 May 2023 14:59:29 +0200 Subject: [PATCH 2/2] chore: add empty line --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 123be9b..16d6421 100644 --- a/src/index.js +++ b/src/index.js @@ -146,6 +146,7 @@ class CreateStoryblokAppCommand extends Command { chalk.yellow(pathEditing), ) if (!localmode) { + log('') log(chalkSb('If you\'re not using local mode, you need to setup mkcert to use the visual editor in the app: ')) log('') log(chalkSb('2.a MacOS: '), chalk.yellow('https://www.storyblok.com/faq/setup-dev-server-https-proxy'))