maildev
Version:
SMTP Server and Web Interface for reading and testing emails during development
31 lines • 692 B
JavaScript
/**
* MailDev CLI Default Configuration
*
* Default values matching v2 behavior for backward compatibility
*/
/**
* Default configuration values
* These match the v2 defaults exactly
*/
export const DEFAULT_CONFIG = {
// SMTP Server
smtp: 1025,
ip: '::',
// Web/API Server
web: 1080,
webIp: '0.0.0.0',
basePathname: '/',
// Logging (all off by default)
verbose: false,
silent: false,
logMailContents: false,
// v3 features (off by default for compatibility)
mcp: false,
};
/**
* Get a copy of the default configuration
*/
export function getDefaultConfig() {
return { ...DEFAULT_CONFIG };
}
//# sourceMappingURL=defaults.js.map