We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab649d commit 68f976cCopy full SHA for 68f976c
packages/kit/src/exports/vite/index.js
@@ -353,7 +353,7 @@ async function kit({ svelte_config }) {
353
const vite_basic_ssl = config.plugins.find(({ name }) => name === 'vite:basic-ssl');
354
355
// by default, when enabling HTTPS in Vite, it also enables HTTP/2
356
- // however, undici's Headers implementation does not like the HTTP/2 headers
+ // however, undici has not yet enabled HTTP/2 by default: https://github.com/nodejs/undici/issues/2750
357
// we set a no-op proxy config to force Vite to downgrade to TLS-only
358
// see https://vitejs.dev/config/#server-https
359
if ((config.server.https || vite_basic_ssl) && !config.server.proxy) {
0 commit comments