resolveHttpsConfig() — vite Function Reference
Architecture documentation for the resolveHttpsConfig() function in http.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD cb5a4344_4dd4_e836_a83e_593080e6a235["resolveHttpsConfig()"] 695bc011_d16d_4322_2fef_1a59a092ee32["http.ts"] cb5a4344_4dd4_e836_a83e_593080e6a235 -->|defined in| 695bc011_d16d_4322_2fef_1a59a092ee32 5c50110b_5c76_c14f_b1dd_3efd3df7f375["preview()"] 5c50110b_5c76_c14f_b1dd_3efd3df7f375 -->|calls| cb5a4344_4dd4_e836_a83e_593080e6a235 24ecf2a1_3c09_d451_76f3_9485b4e993f8["_createServer()"] 24ecf2a1_3c09_d451_76f3_9485b4e993f8 -->|calls| cb5a4344_4dd4_e836_a83e_593080e6a235 fe35eacf_0598_669b_439d_0dedd64397b3["readFileIfExists()"] cb5a4344_4dd4_e836_a83e_593080e6a235 -->|calls| fe35eacf_0598_669b_439d_0dedd64397b3 style cb5a4344_4dd4_e836_a83e_593080e6a235 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/http.ts lines 146–158
export async function resolveHttpsConfig(
https: HttpsServerOptions | undefined,
): Promise<HttpsServerOptions | undefined> {
if (!https) return undefined
const [ca, cert, key, pfx] = await Promise.all([
readFileIfExists(https.ca),
readFileIfExists(https.cert),
readFileIfExists(https.key),
readFileIfExists(https.pfx),
])
return { ...https, ca, cert, key, pfx }
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does resolveHttpsConfig() do?
resolveHttpsConfig() is a function in the vite codebase, defined in packages/vite/src/node/http.ts.
Where is resolveHttpsConfig() defined?
resolveHttpsConfig() is defined in packages/vite/src/node/http.ts at line 146.
What does resolveHttpsConfig() call?
resolveHttpsConfig() calls 1 function(s): readFileIfExists.
What calls resolveHttpsConfig()?
resolveHttpsConfig() is called by 2 function(s): _createServer, preview.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free