Problem: Photo endpoint requires auth header, but <img src> can't send headers. Solution: - Backend: Added require_auth_flexible() that accepts token via header OR query param - Backend: Photo endpoint uses flexible auth - Frontend: photoUrl() now appends ?token=xxx to URL Photos in History/Verlauf now display correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| db_init.py | ||
| db.py | ||
| Dockerfile | ||
| main.py | ||
| migrate_to_postgres.py | ||
| requirements.txt | ||
| schema.sql | ||
| startup.sh | ||