From 58393a673062f6b11fb725e9bc5565bd1e42dd1d Mon Sep 17 00:00:00 2001 From: xuhongbin Date: Mon, 9 Mar 2026 18:02:37 +0800 Subject: [PATCH] docs: remove local proxy mentions from readme --- README.md | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/README.md b/README.md index e02d531..a9fd27c 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ Mobile-first admin console for Sub2API operations, built with Expo + React Nativ - Cross-platform app (iOS / Android / Web) for operational and admin workflows. - Server health and metrics monitoring views. - User, API key, account, and group management pages. -- Built-in local admin proxy (`server/index.js`) for safer web-side admin integration. - Multi-account admin server switching in settings. ## Tech Stack @@ -26,7 +25,6 @@ Mobile-first admin console for Sub2API operations, built with Expo + React Nativ - Expo Router - TanStack Query - Valtio -- Express (local proxy) ## Prerequisites @@ -55,25 +53,6 @@ npm run ios npm run web ``` -## Local Admin Proxy (Web-Friendly) - -For web usage with admin APIs, start the local proxy with environment variables: - -```bash -SUB2API_BASE_URL="https://your-upstream-host.example.com" \ -SUB2API_ADMIN_API_KEY="admin-xxxx" \ -ALLOW_ORIGIN="http://localhost:8081" \ -npm run proxy -``` - -Then point the app `Base URL` to: - -```txt -http://localhost:8787 -``` - -See full details in [docs/LOCAL_PROXY_SETUP.md](docs/LOCAL_PROXY_SETUP.md). - ## Build & Release EAS scripts: