Skip to content

Commit

Permalink
add zap username to lnurl
Browse files Browse the repository at this point in the history
  • Loading branch information
niftynei committed Jan 25, 2024
1 parent 3a29859 commit ae85c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func Routes(ctx *config.AppContext) (http.Handler, error) {

/* LNURL hack oof */
/* This goes to chain.fail (on nixbox) which then fwds to nodebox */
r.HandleFunc("/.well-known/lnurlp/{user:hello|nifty|niftynei|pay}", func(w http.ResponseWriter, r *http.Request) {
r.HandleFunc("/.well-known/lnurlp/{user:hello|nifty|niftynei|pay|zap}", func(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "https://chain.fail/based-lnurl/lnurl", http.StatusSeeOther)
})
r.HandleFunc("/lnurl_api/lnurl", func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit ae85c4e

Please sign in to comment.