diff options
| author | ivar <i@oiee.no> | 2026-04-04 16:51:05 +0200 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2026-04-04 16:51:05 +0200 |
| commit | 87deaec8c519ee477439922f1cbecb8c90cbe5af (patch) | |
| tree | 47fd4986d41141dc8d889b1b150a0e3faab61278 /.air.toml | |
| parent | 7de11c5ca03fcfda6ec3d39c5340a317ae77e2d5 (diff) | |
| download | nebbet.no-87deaec8c519ee477439922f1cbecb8c90cbe5af.tar.xz nebbet.no-87deaec8c519ee477439922f1cbecb8c90cbe5af.zip | |
feat: wire MediaHandler routes and govips lifecycle
- Add RegisterUploadRoute to admin Server (POST /admin/upload/image, auth-protected)
- Import govips/v2 and internal/media in main.go
- Replace static /media/ file handler with mediaSrv.HandleServe for on-the-fly image conversion
- Call vips.Startup/Shutdown around server lifetime
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to '.air.toml')
0 files changed, 0 insertions, 0 deletions
