31 lines
557 B
Markdown
31 lines
557 B
Markdown
# eryao apps
|
|
|
|
Flutter client for `觅爻签问`.
|
|
|
|
## Backend URL
|
|
|
|
Default backend URL:
|
|
|
|
```text
|
|
https://api.meeyao.com
|
|
```
|
|
|
|
This app also supports injecting backend URL at startup (same pattern as social-app):
|
|
|
|
- Dart read path: `lib/core/config/env.dart`
|
|
- Injection key: `BACKEND_URL`
|
|
|
|
### Direct command
|
|
|
|
```bash
|
|
flutter run --dart-define=BACKEND_URL=http://192.168.1.100:5775
|
|
```
|
|
|
|
### Script command
|
|
|
|
```bash
|
|
./tool/run-dev.sh --backend-url http://192.168.1.100:5775
|
|
```
|
|
|
|
If `BACKEND_URL` is not provided, the app uses the production backend URL above.
|