Skip to content

Commit bbaf514

Browse files
userquinsapphi-red
andauthoredNov 27, 2024··
fix: default empty server proxy prevents starting http2 server (#18788)
Co-authored-by: 翠 / green <green@sapphi.red>
1 parent 8d57436 commit bbaf514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/vite/src/node/server/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ export const serverConfigDefaults = Object.freeze({
10221022
host: 'localhost',
10231023
https: undefined,
10241024
open: false,
1025-
proxy: {},
1025+
proxy: undefined,
10261026
cors: true,
10271027
headers: {},
10281028
// hmr

0 commit comments

Comments
 (0)
Please sign in to comment.