mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-18 08:47:24 +02:00
🧑💻 Improve developer experience (#1140)
This commit is contained in:
parent
34fa288069
commit
685f49b4c2
19 changed files with 181 additions and 138 deletions
|
@ -43,10 +43,6 @@ type EmailClientConfig = {
|
|||
* Whether to open previews of each email in the browser
|
||||
*/
|
||||
openPreviews?: boolean;
|
||||
/**
|
||||
* Whether to send emails to the test server
|
||||
*/
|
||||
useTestServer: boolean;
|
||||
/**
|
||||
* Email provider config
|
||||
*/
|
||||
|
@ -132,13 +128,6 @@ export class EmailClient {
|
|||
return this.cachedTransport;
|
||||
}
|
||||
|
||||
if (this.config.useTestServer) {
|
||||
this.cachedTransport = createTransport({
|
||||
port: 4025,
|
||||
});
|
||||
return this.cachedTransport;
|
||||
}
|
||||
|
||||
switch (this.config.provider.name) {
|
||||
case "ses": {
|
||||
const ses = new aws.SES({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue