mirror of
https://github.com/beilunyang/moemail.git
synced 2026-04-22 23:07:25 +08:00
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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user