Skip to content

Commit 0be9dd6

Browse files
safe1ineclaude
andcommitted
chore: 桌面和移动端入口点改为 /console/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d31dbc7 commit 0be9dd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

desktop/electron/main.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require("path")
55
const isDev = !app.isPackaged
66
const DEFAULT_PROD_URL = "https://monkeycode-ai.com"
77
/** 桌面端启动路径(相对站点根),可用 MONKEYCODE_DESKTOP_START_PATH 覆盖 */
8-
const START_PATH = (process.env.MONKEYCODE_DESKTOP_START_PATH || "/login").replace(/\/$/, "") || "/login"
8+
const START_PATH = (process.env.MONKEYCODE_DESKTOP_START_PATH || "/console/").replace(/\/$/, "") || "/console"
99

1010
function desktopEntryUrl(base) {
1111
const href = (base || "").trim() || DEFAULT_PROD_URL

mobile/capacitor.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"appName": "MonkeyCode",
44
"webDir": "../frontend/dist",
55
"server": {
6-
"url": "https://monkeycode-ai.com/login",
6+
"url": "https://monkeycode-ai.com/console/",
77
"androidScheme": "https"
88
}
99
}

0 commit comments

Comments
 (0)