Skip to content

Commit

Permalink
fix(storybook): port should be a number
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Oct 7, 2020
1 parent cb7c658 commit 235d814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function getStorybookConfig (options: StorybookOptions) {
versionUpdates: false,
rootDir: options.rootDir,
configDir: nuxtStorybookConfig.configDir,
port: process.env.PORT || nuxtStorybookConfig.port || 3003,
port: parseInt(process.env.PORT || nuxtStorybookConfig.port || 3003, 10),
nuxt,
nuxtBuilder,
nuxtWebpackConfig,
Expand Down

0 comments on commit 235d814

Please sign in to comment.