fuck. list expiries + accept post form expiry
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user