feat: serve bincio wheel locally for mobile dev testing

- Add GET /api/wheel/download to serve/server.py and edit/server.py:
  serves dist/bincio-*.whl via FileResponse; in production nginx takes
  the request before FastAPI, so this is a no-op there but works locally
- wheel_version response now includes api_url: "/api/wheel/download"
  alongside the nginx-served url field
- Bundle mobile/assets/bincio.whl (built from dist/) as an offline
  fallback for Pyodide testing before the first instance sync
- docs/mobile-app.md: document dev setup — bundled asset, local server
  endpoint, and how to refresh the bundle with uv build + cp
This commit is contained in:
Davide Scaini
2026-04-24 11:01:24 +02:00
parent b37df88fe1
commit 02bb8a3dd7
4 changed files with 232 additions and 22 deletions
Binary file not shown.