Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 491639b

Browse files
author
Lisi Linhart
authored
Merge pull request #21 from storyblok/fix/non-default-local
fix: locally serving Storyblok should not be the default
2 parents 5937249 + a0072f0 commit 491639b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ class CreateStoryblokAppCommand extends Command {
146146
chalk.yellow(pathEditing),
147147
)
148148
if (!localmode) {
149+
log('')
149150
log(chalkSb('If you\'re not using local mode, you need to setup mkcert to use the visual editor in the app: '))
150151
log('')
151152
log(chalkSb('2.a MacOS: '), chalk.yellow('https://www.storyblok.com/faq/setup-dev-server-https-proxy'))

src/prompts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ module.exports = [
5050
{
5151
type: 'confirm',
5252
name: 'localmode',
53-
message: 'Storyblok will be served locally on your localhost instead of app.storyblok.com',
53+
message: 'Serve Storyblok locally (to skip https setup, not recommended)',
5454
prefix: '💻',
55-
default: true,
55+
default: false,
5656
},
5757
]

0 commit comments

Comments
 (0)