@package-broker/adapter-node 0.16.4 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.ts +6 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -108,6 +108,12 @@ async function start() {
|
|
|
108
108
|
(c.env as any) = {
|
|
109
109
|
...(c.env || {}),
|
|
110
110
|
ENCRYPTION_KEY: encryptionKey,
|
|
111
|
+
// Pass SMTP configuration from process.env
|
|
112
|
+
SMTP_HOST: process.env.SMTP_HOST,
|
|
113
|
+
SMTP_PORT: process.env.SMTP_PORT,
|
|
114
|
+
SMTP_USER: process.env.SMTP_USER,
|
|
115
|
+
SMTP_PASS: process.env.SMTP_PASS,
|
|
116
|
+
SMTP_FROM: process.env.SMTP_FROM,
|
|
111
117
|
};
|
|
112
118
|
await next();
|
|
113
119
|
});
|