initialPassword -> setupPassword

This commit is contained in:
syuilo
2024-10-03 20:40:39 +09:00
parent 2a4ab0e187
commit d2175a9b9f
6 changed files with 14 additions and 14 deletions

View File

@@ -63,7 +63,7 @@ type Source = {
publishTarballInsteadOfProvideRepositoryUrl?: boolean;
initialPassword?: string;
setupPassword?: string;
proxy?: string;
proxySmtp?: string;
@@ -154,7 +154,7 @@ export type Config = {
version: string;
publishTarballInsteadOfProvideRepositoryUrl: boolean;
initialPassword: string | undefined;
setupPassword: string | undefined;
host: string;
hostname: string;
scheme: string;
@@ -235,7 +235,7 @@ export function loadConfig(): Config {
return {
version,
publishTarballInsteadOfProvideRepositoryUrl: !!config.publishTarballInsteadOfProvideRepositoryUrl,
initialPassword: config.initialPassword,
setupPassword: config.setupPassword,
url: url.origin,
port: config.port ?? parseInt(process.env.PORT ?? '', 10),
socket: config.socket,