fuck. list expiries + accept post form expiry

This commit is contained in:
2026-11-10 22:26:08 -05:00
parent 9bda8bc93d
commit 1b636ef51a
3 changed files with 14 additions and 7 deletions
+1 -2
View File
@@ -35,8 +35,7 @@ func main() {
mux := http.NewServeMux()
mux.HandleFunc("GET /{$}", func(w http.ResponseWriter, r *http.Request) {
data := HomePageData{
Title: "minibin",
Description: "simple file and paste hosting",
Expiries: config.Expiries,
}
w.Header().Set("Content-Type", "text/html; charset=utf-8")