renewal-unlock: orders.renews_at lazy expiry + owner unlock notices (ntfy/sms channels, exempt from metering) — verified
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
||||
"wherewoof/frontend/internal/auth"
|
||||
"wherewoof/frontend/internal/db"
|
||||
"wherewoof/frontend/internal/handlers"
|
||||
"wherewoof/frontend/internal/notify"
|
||||
"wherewoof/frontend/internal/sms"
|
||||
"wherewoof/frontend/internal/storage"
|
||||
)
|
||||
@@ -60,7 +61,7 @@ func main() {
|
||||
log.Fatal("storage:", err)
|
||||
}
|
||||
|
||||
app := handlers.New(db.New(pool), tpl, sender, store)
|
||||
app := handlers.New(db.New(pool), tpl, sender, store, notify.New(sender))
|
||||
|
||||
mux := http.NewServeMux()
|
||||
mux.Handle("GET /static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
|
||||
|
||||
Reference in New Issue
Block a user