6de2455917
- 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
42 lines
910 B
Markdown
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)
|