implamented Aroll cuter

This commit is contained in:
2026-02-25 23:27:31 -08:00
parent 2233d08fb5
commit 0a88623264
13 changed files with 277 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
package handlers
import (
"log"
"net/http"
"os"
"strings"
@@ -34,5 +35,7 @@ func DownloadHandler(st *store.Store) http.HandlerFunc {
fi, _ := f.Stat()
w.Header().Set("Content-Disposition", `attachment; filename="aroll-cut.mp4"`)
http.ServeContent(w, r, "aroll-cut.mp4", fi.ModTime(), f)
log.Println("Download handler works")
}
}