This commit is contained in:
Boki 2025-06-18 19:33:04 -04:00
parent bd8a5bfe9e
commit eb66086b2a
5 changed files with 59 additions and 37 deletions

View file

@ -27,7 +27,7 @@ export class ConfigManager<T = Record<string, unknown>> {
const configPath = options.configPath || join(process.cwd(), 'config');
this.loaders = [
new FileLoader(configPath, this.environment),
new EnvLoader('STOCKBOT_'), // Prefix for env vars
new EnvLoader(''), // No prefix for env vars to match our .env file
];
}
}