Skip to content

Commit

Permalink
Merge pull request #21 from storyblok/fix/non-default-local
Browse files Browse the repository at this point in the history
fix: locally serving Storyblok should not be the default
  • Loading branch information
Lisi Linhart authored May 2, 2023
2 parents 5937249 + a0072f0 commit 491639b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down
4 changes: 2 additions & 2 deletions src/prompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
]

0 comments on commit 491639b

Please sign in to comment.