Files
boc/DEMO_FIX.md
T
Bernt 6de2455917 v1.2.0: Add Global Markets footer, translated to 9 languages
- Added GLOBAL_MARKETS_TITLE to all translation files
- Updated footer with 12 markets (4 active + 8 upcoming)
- Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi
- Built and deployed to production
- CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
2026-07-08 19:56:03 +00:00

42 lines
910 B
Markdown

# Demo Fix — 2026-07-08
## Status: ✅ KLART
## Problem
- `https://bernt.wavult.com:8086/demo.html` fungerade inte (port blockerad)
- Object API (port 8083) hade stannat
- Demo-sidan saknade API-nyckel
## Fixat
### 1. Startade Object API
```bash
systemctl restart landvex-api
```
- Port 8083 aktiv
- 64 objekt, 37 klasser, 27 modeller
### 2. Nginx proxy
```nginx
location /v0/ {
proxy_pass http://127.0.0.1:8083/v0/;
add_header Access-Control-Allow-Origin "*" always;
}
```
### 3. Demo-sidan uppdaterad
- API_BASE: relativ path (tom sträng)
- X-API-Key: `demo-key-2026` (automatisk i alla anrop)
## URL
**https://bernt.wavult.com/demo/**
## API Endpoints (fungerar nu)
- `GET /v0/metrics` — Mätetal
- `GET /v0/search?q={query}` — Sök
- `POST /v0/identify` — OCR-identifikation
- `GET /v0/objects/{lvx_id}` — Hämta objekt
## Demo-nyckel
`demo-key-2026` (rate limit: 1000 req/dag)