Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions playground/backend-integration/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ function BackendIntegrationExample() {
strictPort: true,
origin: 'http://localhost:5009',
},
preview: {
port: 5009,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

server.strictPort is inherited to preview.strictPort and therefore the playground tried to listen to port 4173 even if one of the other playground is listening to it.
Specified the port number to avoid conflict.

},
build: {
manifest: true,
outDir,
Expand Down