This commit is contained in:
2025-06-08 16:35:06 +09:00
parent 230b3558b9
commit be026db3d8
20 changed files with 182 additions and 73 deletions

View File

@ -82,7 +82,7 @@ function createConfig(): Config {
voicevox: {
host: getOptionalEnv("VOICEVOX_HOST", "http://localhost:50021"),
styleId: parseInt(getOptionalEnv("VOICEVOX_STYLE_ID", "0")),
styleId: Number.parseInt(getOptionalEnv("VOICEVOX_STYLE_ID", "0")),
},
podcast: {
@ -100,7 +100,7 @@ function createConfig(): Config {
},
admin: {
port: parseInt(getOptionalEnv("ADMIN_PORT", "3001")),
port: Number.parseInt(getOptionalEnv("ADMIN_PORT", "3001")),
username: import.meta.env["ADMIN_USERNAME"],
password: import.meta.env["ADMIN_PASSWORD"],
},