가상매매 시간봉 제거

This commit is contained in:
Macbook
2026-05-28 20:48:28 +09:00
parent 7e3644cb62
commit 15160f7d2c
45 changed files with 996 additions and 405 deletions
+6 -4
View File
@@ -34,11 +34,13 @@ npm run cap:android # or cap:ios
Copy `.env.example` to `.env` and set `VITE_API_BASE_URL`.
### 로그인 시 "Failed to fetch"
### 로그인 시 "Failed to fetch" / "서버 응답이 느립니다"
- APK빌드 시 `.env``VITE_API_BASE_URL`이 번들에 박힙니다 (기본: `http://exdev.co.kr/api`).
- `capacitor.config.ts``androidScheme`**`http`** 여야 합니다. `https`이면 WebView가 `https://localhost`에서 뜨고 HTTP API 호출이 차단됩니다.
- 설정에 `localhost` API가 저장돼 있으면 앱 시작 시 자동으로 제거합니다.
- API**`http://exdev.co.kr/api`** 만 사용 (`https://exdev.co.kr` 은 443 미개방).
- exdev 로그인은 **10~30초** 걸릴 수 있음 — 2분 타임아웃까지 대기.
- APK는 `app/.env``VITE_API_BASE_URL`이 빌드에 포함되어야 함.
- `androidScheme`**`http`**. `CapacitorHttp`는 비활성(로그인 fetch 안정화).
- 설정에 `localhost`·`https://` API가 저장돼 있으면 앱 시작 시 제거·`http`로 교정.
## FCM (Firebase)