Spaces:
Sleeping
Sleeping
lijunke commited on
Commit ·
a55f7df
1
Parent(s): da3203c
chore: remove hajimi moemail defaults for HF compliance
Browse files- core/config.py +1 -1
- core/moemail_client.py +1 -1
core/config.py
CHANGED
|
@@ -222,7 +222,7 @@ class ConfigManager:
|
|
| 222 |
duckmail_api_key=str(duckmail_api_key_raw or "").strip(),
|
| 223 |
duckmail_verify_ssl=_parse_bool(basic_data.get("duckmail_verify_ssl"), True),
|
| 224 |
temp_mail_provider=basic_data.get("temp_mail_provider") or "moemail",
|
| 225 |
-
moemail_base_url=basic_data.get("moemail_base_url") or "https://moemail.
|
| 226 |
moemail_api_key=str(basic_data.get("moemail_api_key") or "").strip(),
|
| 227 |
moemail_domain=str(basic_data.get("moemail_domain") or "").strip(),
|
| 228 |
freemail_base_url=basic_data.get("freemail_base_url") or "http://your-freemail-server.com",
|
|
|
|
| 222 |
duckmail_api_key=str(duckmail_api_key_raw or "").strip(),
|
| 223 |
duckmail_verify_ssl=_parse_bool(basic_data.get("duckmail_verify_ssl"), True),
|
| 224 |
temp_mail_provider=basic_data.get("temp_mail_provider") or "moemail",
|
| 225 |
+
moemail_base_url=basic_data.get("moemail_base_url") or "https://moemail.app",
|
| 226 |
moemail_api_key=str(basic_data.get("moemail_api_key") or "").strip(),
|
| 227 |
moemail_domain=str(basic_data.get("moemail_domain") or "").strip(),
|
| 228 |
freemail_base_url=basic_data.get("freemail_base_url") or "http://your-freemail-server.com",
|
core/moemail_client.py
CHANGED
|
@@ -24,7 +24,7 @@ class MoemailClient:
|
|
| 24 |
|
| 25 |
def __init__(
|
| 26 |
self,
|
| 27 |
-
base_url: str = "https://moemail.
|
| 28 |
proxy: str = "",
|
| 29 |
api_key: str = "",
|
| 30 |
domain: str = "",
|
|
|
|
| 24 |
|
| 25 |
def __init__(
|
| 26 |
self,
|
| 27 |
+
base_url: str = "https://moemail.app",
|
| 28 |
proxy: str = "",
|
| 29 |
api_key: str = "",
|
| 30 |
domain: str = "",
|