mirror of https://github.com/openclaw/openclaw.git
15 lines
512 B
TypeScript
15 lines
512 B
TypeScript
import type { GatewayTlsConfig } from "../../config/types.gateway.js";
|
|
import {
|
|
type GatewayTlsRuntime,
|
|
loadGatewayTlsRuntime as loadGatewayTlsRuntimeConfig,
|
|
} from "../../infra/tls/gateway.js";
|
|
|
|
export type { GatewayTlsRuntime } from "../../infra/tls/gateway.js";
|
|
|
|
export async function loadGatewayTlsRuntime(
|
|
cfg: GatewayTlsConfig | undefined,
|
|
log?: { info?: (msg: string) => void; warn?: (msg: string) => void },
|
|
): Promise<GatewayTlsRuntime> {
|
|
return await loadGatewayTlsRuntimeConfig(cfg, log);
|
|
}
|