flutter version

This commit is contained in:
Dmitry 2025-11-19 23:21:15 +03:00
parent 11be956735
commit 945f21130b
5 changed files with 6 additions and 6 deletions

View file

@ -71,7 +71,7 @@ jobs:
- name: Setup Flutter
uses: https://github.com/subosito/flutter-action@v2
with:
flutter-version: '3.19.2' # Adjust version as needed
flutter-version: '3.35.5' # Adjust version as needed
channel: 'stable'
- name: Setup SSH

View file

@ -99,11 +99,11 @@ flutter run -d chrome --web-port=8080
Для production версии:
1. **Backend** уже настроен с правильными CORS настройками ✅
2. **Frontend** использует `api.mnemo-cards.online` ✅
2. **Frontend** использует `https://api.mnemo-cards.online` (nginx:443)
3. **Nginx** настроен без конфликтующих COEP/COOP headers ✅
Текущая конфигурация позволяет:
- ✅ Запросы с `memo-cards.online` на `api.mnemo-cards.online`
- ✅ Запросы с `memo-cards.online` на `https://api.mnemo-cards.online`
- ✅ Все необходимые HTTP методы и headers
- ✅ Preflight OPTIONS запросы

View file

@ -1614,7 +1614,7 @@ Enable mnemo_cards_web_v2 to communicate with the same backend as the main mnemo
#### 1. API Configuration ✅
- Changed baseUrl: `http://localhost:8080``http://localhost:8000`
- Matches main app web version
- Production URL: `https://api.mnemo-cards.online:8081`
- Production URL: `https://api.mnemo-cards.online` (via nginx on port 443)
- Changed appVersion: `2.0.0``1.1.0`
- Required for TokenGenerator compatibility
- Enables proper request token generation

View file

@ -54,7 +54,7 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.2' # Adjust version as needed
flutter-version: '3.35.5' # Adjust version as needed
channel: 'stable'
- name: Setup SSH

View file

@ -74,7 +74,7 @@ cd web-app
- `SERVER_IP` - IP сервера (147.45.152.129)
- `DOMAIN` - домен веб приложения (memo-cards.online)
- `API_BASE_URL` - URL API (https://api.mnemo-cards.online:8081)
- `API_BASE_URL` - URL API (https://api.mnemo-cards.online) [nginx:443 → backend:8081]
### SSH доступ