docs(analytics): 管理后台域名改为 md.tkmind.cn
Memind CI / Test, build, and release guards (push) Has been cancelled
Memind CI / Test, build, and release guards (push) Has been cancelled
同步 Analytics 发布 runbook 与 admin 默认 PUBLIC_HOST,与 memind_adm 生产入口一致。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@
|
||||
// Serves the platform super-admin API (/admin-api/*) and the plaza operations
|
||||
// console API (/api/ops/v1/*) on its own port, isolated from the public
|
||||
// user-facing server (server.mjs). In production this is fronted by
|
||||
// gadm.tkmind.cn; in dev the ops SPA (:3002) proxies to it directly.
|
||||
// md.tkmind.cn; in dev the ops SPA (:3002) proxies to it directly.
|
||||
//
|
||||
// It trusts the shared session cookie (H5_COOKIE_DOMAIN=.tkmind.cn), so login
|
||||
// continues to happen on the main app domain — this process only reads the
|
||||
@@ -43,7 +43,7 @@ loadEnvFile(path.join(__dirname, '.env'));
|
||||
|
||||
const PORT = Number(process.env.ADMIN_PORT ?? 8082);
|
||||
const HOST = process.env.ADMIN_HOST ?? '127.0.0.1';
|
||||
const PUBLIC_HOST = process.env.ADMIN_PUBLIC_HOST ?? 'gadm.tkmind.cn';
|
||||
const PUBLIC_HOST = process.env.ADMIN_PUBLIC_HOST ?? 'md.tkmind.cn';
|
||||
|
||||
const getToken = (req) => parseCookies(req.get('cookie'))[USER_COOKIE];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user