diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-06-17 22:41:55 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-06-17 22:41:55 +0900 |
| commit | 243d222c35f4607ac13a400e827333f44a0f44c7 (patch) | |
| tree | 82acd276c371e047fdfa1968966fc4c3ea20babb /app/scrapers/fad-yokohama.ts | |
| parent | 5f653a4c9f7c76d461ee4377fb4e025771cff872 (diff) | |
Fix image proxy 400 for application/octet-stream responses
GCS-backed Active Storage (omatsuri.tech, used by rinky.info venues)
returns application/octet-stream instead of image/*. Detect actual image
type from magic bytes (JPEG/PNG/GIF/WebP) and serve with correct
Content-Type. Also add X-Content-Type-Options: nosniff.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app/scrapers/fad-yokohama.ts')
0 files changed, 0 insertions, 0 deletions
