Add gallery admin and video media support.
This updates gallery handling to support video playback with generated poster thumbnails, adds authenticated admin upload/delete flows, and improves dev/runtime behavior including reliable thumbnail generation and media-safe response handling. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -15,6 +15,10 @@ ADDR=:8080
|
||||
# Homepage hero (path under app/images/)
|
||||
HERO_IMAGE=connectionmachine/20220723_231556.jpg
|
||||
|
||||
# Gallery admin at /admin/ (both required to enable)
|
||||
ADMIN_USER=admin
|
||||
ADMIN_PASSWORD=changeme
|
||||
|
||||
# Host Go caches mounted into the dev container (make sets ~/go/pkg/mod and ~/.cache/go-build if unset)
|
||||
# GOMODCACHE=/home/you/go/pkg/mod
|
||||
# GOCACHE=/home/you/.cache/go-build
|
||||
|
||||
Reference in New Issue
Block a user