mirror of
https://github.com/dadosfera/maestro.git
synced 2026-08-31 19:58:21 +00:00
12 lines
361 B
TypeScript
12 lines
361 B
TypeScript
export const CONNECTIONS_API_CONFIG = {
|
|
getUrl: (): string => {
|
|
const url = process.env.CONNECTIONS_API_URL;
|
|
if (!url) {
|
|
throw new Error('CONNECTIONS_API_URL environment variable is not set');
|
|
}
|
|
return url;
|
|
},
|
|
region: process.env.AWS_REGION || 'us-east-1',
|
|
timeout: parseInt(process.env.CONNECTIONS_API_TIMEOUT || '30000', 10),
|
|
};
|