We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b31faab commit 98b3160Copy full SHA for 98b3160
packages/vite/src/node/preview.ts
@@ -137,7 +137,7 @@ export async function preview(
137
)
138
}
139
140
- const httpsOptions = await resolveHttpsConfig(config.server.https)
+ const httpsOptions = await resolveHttpsConfig(config.preview.https)
141
const app = connect() as Connect.Server
142
const httpServer = await resolveHttpServer(config.preview, app, httpsOptions)
143
setClientErrorHandler(httpServer, config.logger)
0 commit comments