dika/.peppa/memory/dik-69.md
peppa-bot cb9196521a
All checks were successful
peppa/lint lint: success за 0с
peppa/test test: success за 1с
peppa/build build: success за 0с
ci / checks (pull_request) Successful in 10s
deploy / deploy (pull_request) Successful in 20s
DIK-69: владелец загружает фото файлом, инструкция и понятные ошибки на странице правки
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 11:58:05 +00:00

5 lines
495 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Память: DIK-69
## Решения
- Фото файлом (DIK-69): POST /admin/api/venues/:id/photo (тело — файл, тип по байтам jpg/png/webp, до 3 МБ) → DATA_DIR/photos, в CSV «фото» = /photos/<имя> (isPhotoRef в src/venues.js), раздаёт GET /photos/<имя>; без пароля /admin — страница admLoginTitle; тест test/owner-photo.test.js проверяет, что у посетителей нет ссылки на /admin