WuGuan commited on
Commit
2835db9
·
verified ·
1 Parent(s): 01d71b4

Update settings.js

Browse files
Files changed (1) hide show
  1. settings.js +9 -1
settings.js CHANGED
@@ -33,6 +33,7 @@ module.exports = {
33
 
34
  /** The file containing the flows. If not set, defaults to flows_<hostname>.json **/
35
  flowFile: 'flows.json',
 
36
 
37
  /** By default, credentials are encrypted in storage using a generated key. To
38
  * specify your own secret, set the following property.
@@ -42,7 +43,14 @@ module.exports = {
42
  * lost.
43
  */
44
  //credentialSecret: "a-secret-key",
45
-
 
 
 
 
 
 
 
46
  /** By default, the flow JSON will be formatted over multiple lines making
47
  * it easier to compare changes when using version control.
48
  * To disable pretty-printing of the JSON set the following property to false.
 
33
 
34
  /** The file containing the flows. If not set, defaults to flows_<hostname>.json **/
35
  flowFile: 'flows.json',
36
+
37
 
38
  /** By default, credentials are encrypted in storage using a generated key. To
39
  * specify your own secret, set the following property.
 
43
  * lost.
44
  */
45
  //credentialSecret: "a-secret-key",
46
+ emailSettings: {
47
+ server: process.env.EMAIL_SERVER || "smtp.example.com", // SMTP 服务器地址
48
+ port: process.env.EMAIL_PORT || 587, // SMTP 端口
49
+ secure: process.env.EMAIL_SECURE === "true", // 是否使用 SSL/TLS
50
+ username: process.env.EMAIL_USERNAME || "your-email@example.com", // 邮箱用户名
51
+ password: process.env.EMAIL_PASSWORD || "your-password", // 邮箱密码
52
+ from: process.env.EMAIL_FROM || "your-email@example.com", // 发件人地址
53
+ },
54
  /** By default, the flow JSON will be formatted over multiple lines making
55
  * it easier to compare changes when using version control.
56
  * To disable pretty-printing of the JSON set the following property to false.