fix: allow hostname passthrough for hono node
This commit is contained in:
parent
03acebb23e
commit
5918d0e501
7 changed files with 55 additions and 14 deletions
|
|
@ -43,9 +43,10 @@ export interface EnvOverrides {
|
|||
path: string;
|
||||
}
|
||||
|
||||
export function configureConfig(
|
||||
overrides: Partial<EnvOverrides>,
|
||||
): EnvOverrides {
|
||||
export function configureConfig(overrides: {
|
||||
loadEnv: string | undefined;
|
||||
path: string | undefined;
|
||||
}): EnvOverrides {
|
||||
const loadResult = booleanEnv(overrides.loadEnv);
|
||||
if (loadResult instanceof type.errors) {
|
||||
log.error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue