Skip to content

Commit

Permalink
fix: storybook port occupied error (#5966)
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy authored Jul 18, 2024
1 parent ad9e984 commit c7b6945
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/curvy-plants-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js/storybook-builder': patch
---

fix: storybook port occupied error

fix: 修复 storybook 端口占用报错
1 change: 0 additions & 1 deletion packages/storybook/builder/src/plugin-storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ function applyServerConfig(builderConfig: RsbuildConfig, options: Options) {
port: options.port,
host: 'localhost',
htmlFallback: false,
strictPort: true,
printUrls: false,
};
}
Expand Down

0 comments on commit c7b6945

Please sign in to comment.