feat(cli): default api-url to https://moemail.app

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ty
2026-03-22 16:11:39 +08:00
parent f66c3e83a9
commit 033125eebf
+1 -1
View File
@@ -11,7 +11,7 @@ const CONFIG_DIR = join(homedir(), ".moemail");
const CONFIG_FILE = join(CONFIG_DIR, "config.json");
export function loadConfig(): CliConfig {
const config: CliConfig = { apiUrl: "", apiKey: "" };
const config: CliConfig = { apiUrl: "https://moemail.app", apiKey: "" };
// File config
if (existsSync(CONFIG_FILE)) {