Extract memind_adm admin server, add local dev tooling, and remove image-generation.

Split platform admin and ops APIs into standalone admin-server.mjs with network guards; simplify billing to RMB token pricing, refactor user auth, and add rsync deploy plus local-test scripts and docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Your Name
2026-06-17 16:39:39 -07:00
parent ab0718938e
commit b0f5d6a51c
98 changed files with 5394 additions and 3010 deletions
+4 -1
View File
@@ -4,6 +4,8 @@ import react from '@vitejs/plugin-react';
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '');
const portalTarget = env.H5_DEV_PORTAL ?? 'http://127.0.0.1:8081';
// Platform super-admin API now lives in the standalone memind_adm service.
const adminTarget = env.H5_DEV_ADMIN ?? 'http://127.0.0.1:8082';
return {
plugins: [react()],
@@ -11,10 +13,11 @@ export default defineConfig(({ mode }) => {
host: true,
port: 5173,
strictPort: true,
allowedHosts: ['127.0.0.1', 'localhost', '.localhost'],
proxy: {
'/api': portalTarget,
'/auth': portalTarget,
'/admin-api': portalTarget,
'/admin-api': adminTarget,
'/MindSpace': portalTarget,
'^/u/': portalTarget,
'^/s/': portalTarget,