Skip to content

Commit

Permalink
fix: typo in #8121 (#8143)
Browse files Browse the repository at this point in the history
  • Loading branch information
natrim committed May 12, 2022
1 parent b902932 commit c32e3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/http.ts
Expand Up @@ -101,7 +101,7 @@ export async function resolveHttpServer(

// #484 fallback to http1 when proxy is needed.
if (proxy) {
const { createServer } = await import('http')
const { createServer } = await import('https')
return createServer(httpsOptions, app)
} else {
const { createSecureServer } = await import('http2')
Expand Down

0 comments on commit c32e3ac

Please sign in to comment.