flutter version
This commit is contained in:
parent
11be956735
commit
945f21130b
5 changed files with 6 additions and 6 deletions
|
|
@ -71,7 +71,7 @@ jobs:
|
||||||
- name: Setup Flutter
|
- name: Setup Flutter
|
||||||
uses: https://github.com/subosito/flutter-action@v2
|
uses: https://github.com/subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: '3.19.2' # Adjust version as needed
|
flutter-version: '3.35.5' # Adjust version as needed
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
|
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
|
|
|
||||||
|
|
@ -99,11 +99,11 @@ flutter run -d chrome --web-port=8080
|
||||||
Для production версии:
|
Для production версии:
|
||||||
|
|
||||||
1. **Backend** уже настроен с правильными CORS настройками ✅
|
1. **Backend** уже настроен с правильными CORS настройками ✅
|
||||||
2. **Frontend** использует `api.mnemo-cards.online` ✅
|
2. **Frontend** использует `https://api.mnemo-cards.online` (nginx:443) ✅
|
||||||
3. **Nginx** настроен без конфликтующих COEP/COOP headers ✅
|
3. **Nginx** настроен без конфликтующих COEP/COOP headers ✅
|
||||||
|
|
||||||
Текущая конфигурация позволяет:
|
Текущая конфигурация позволяет:
|
||||||
- ✅ Запросы с `memo-cards.online` на `api.mnemo-cards.online`
|
- ✅ Запросы с `memo-cards.online` на `https://api.mnemo-cards.online`
|
||||||
- ✅ Все необходимые HTTP методы и headers
|
- ✅ Все необходимые HTTP методы и headers
|
||||||
- ✅ Preflight OPTIONS запросы
|
- ✅ Preflight OPTIONS запросы
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1614,7 +1614,7 @@ Enable mnemo_cards_web_v2 to communicate with the same backend as the main mnemo
|
||||||
#### 1. API Configuration ✅
|
#### 1. API Configuration ✅
|
||||||
- Changed baseUrl: `http://localhost:8080` → `http://localhost:8000`
|
- Changed baseUrl: `http://localhost:8080` → `http://localhost:8000`
|
||||||
- Matches main app web version
|
- 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`
|
- Changed appVersion: `2.0.0` → `1.1.0`
|
||||||
- Required for TokenGenerator compatibility
|
- Required for TokenGenerator compatibility
|
||||||
- Enables proper request token generation
|
- Enables proper request token generation
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ jobs:
|
||||||
- name: Setup Flutter
|
- name: Setup Flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: '3.19.2' # Adjust version as needed
|
flutter-version: '3.35.5' # Adjust version as needed
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
|
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ cd web-app
|
||||||
|
|
||||||
- `SERVER_IP` - IP сервера (147.45.152.129)
|
- `SERVER_IP` - IP сервера (147.45.152.129)
|
||||||
- `DOMAIN` - домен веб приложения (memo-cards.online)
|
- `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 доступ
|
### SSH доступ
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue