Default email provider and domains to mail.bblbb.com.
Clarify that existing config.json overrides code defaults so other hosts must update provider settings after pull.
This commit is contained in:
1 parent
df9213463d
commit
a0fb249dff
1 file changed
+3
-1
@@ -37,7 +37,9 @@ DEFAULT_CONFIG = {
|
||||
"cloudflare_path_token": "/api/token",
|
||||
"cloudflare_path_messages": "/api/mails",
|
||||
# ===== 自建临时邮箱 mail.bblbb.com(任意 local-part 可收,Header X-Api-Key)=====
|
||||
# 注意:若本地已有 config.json,其中的 email_provider / defaultDomains 会覆盖此处默认值。
|
||||
"email_provider": "bblbb",
|
||||
"defaultDomains": "mail.bblbb.com",
|
||||
"bblbb_api_base": "https://mail.bblbb.com",
|
||||
"bblbb_api_key": "",
|
||||
"bblbb_domain": "mail.bblbb.com",
|
||||
@@ -1103,7 +1105,7 @@ def pick_domain(api_key=None):
|
||||
|
||||
|
||||
def get_email_provider():
|
||||
return str(config.get("email_provider", "duckmail") or "duckmail").strip().lower()
|
||||
return str(config.get("email_provider", "bblbb") or "bblbb").strip().lower()
|
||||
|
||||
|
||||
def get_bblbb_api_base():
|
||||
|
||||
Reference in new issue
Block a user