mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-27 23:19:40 +08:00
chore: 桌面和移动端入口点改为 /console/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
d31dbc7836
commit
0be9dd67db
2 files changed
+2
-2
No files matched your search
@@ -5,7 +5,7 @@ const path = require("path")
|
||||
const isDev = !app.isPackaged
|
||||
const DEFAULT_PROD_URL = "https://monkeycode-ai.com"
|
||||
/** 桌面端启动路径(相对站点根),可用 MONKEYCODE_DESKTOP_START_PATH 覆盖 */
|
||||
const START_PATH = (process.env.MONKEYCODE_DESKTOP_START_PATH || "/login").replace(/\/$/, "") || "/login"
|
||||
const START_PATH = (process.env.MONKEYCODE_DESKTOP_START_PATH || "/console/").replace(/\/$/, "") || "/console"
|
||||
|
||||
function desktopEntryUrl(base) {
|
||||
const href = (base || "").trim() || DEFAULT_PROD_URL
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"appName": "MonkeyCode",
|
||||
"webDir": "../frontend/dist",
|
||||
"server": {
|
||||
"url": "https://monkeycode-ai.com/login",
|
||||
"url": "https://monkeycode-ai.com/console/",
|
||||
"androidScheme": "https"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user