Skip to content

Commit

Permalink
fix: default empty server proxy prevents starting http2 server (#18788
Browse files Browse the repository at this point in the history
)

Co-authored-by: 翠 / green <green@sapphi.red>
  • Loading branch information
userquin and sapphi-red authored Nov 27, 2024
1 parent 8d57436 commit bbaf514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ export const serverConfigDefaults = Object.freeze({
host: 'localhost',
https: undefined,
open: false,
proxy: {},
proxy: undefined,
cors: true,
headers: {},
// hmr
Expand Down

0 comments on commit bbaf514

Please sign in to comment.