accept allowHTTP1
for https server option?
#20703
-
When trying to run Vite in dev mode with
As pointed out here: oven-sh/bun#14825 (comment), it looks like Vite currently doesn’t support passing vite/packages/vite/src/node/http.ts Lines 39 to 43 in 8099582 I may be misunderstanding, but it seems this prevent adding |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Vite does support passing |
Beta Was this translation helpful? Give feedback.
Vite does support passing
https
options. Vite setsallowHTTP1: true
by default.Setting
server.proxy: {}
would force Vite to use HTTPS with HTTP1.1. But that's an implementation detail, so it may change in the future.