mirror of
https://gitee.com/wanwujie/sub2api-mobile
synced 2026-04-03 06:52:14 +08:00
docs: remove local proxy mentions from readme
This commit is contained in:
21
README.md
21
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:
|
||||
|
||||
Reference in New Issue
Block a user