.env.example, addr config, working on banned mime types

This commit is contained in:
2026-11-15 11:22:50 -05:00
parent 93da714ed0
commit e1e0c8042e
5 changed files with 28 additions and 4 deletions
+2 -2
View File
@@ -131,9 +131,9 @@ func main() {
mux.HandleFunc("POST /{id}/delete", deleteHandler(db, config))
mux.HandleFunc("GET /health", health)
log.Println("listening on http://localhost:8080")
log.Println("listening on", config.Addr)
err = http.ListenAndServe("localhost:8080", mux)
err = http.ListenAndServe(config.Addr, mux)
if err != nil {
log.Fatal(err)
}