keep nostrwalletconnect URL for backwards compatibility

This commit is contained in:
Michael Bumann 2023-04-25 16:02:08 +02:00
parent bf0f444feb
commit d1ca970c4b

View file

@ -196,7 +196,7 @@ func (svc *Service) AppsCreateHandler(c echo.Context) error {
if c.FormValue("returnTo") != "" {
return c.Redirect(302, c.FormValue("returnTo"))
}
pairingUri := template.URL(fmt.Sprintf("nostr+walletconnect://%s?relay=%s&secret=%s", svc.cfg.IdentityPubkey, svc.cfg.Relay, pairingSecretKey))
pairingUri := template.URL(fmt.Sprintf("nostrwalletconnect://%s?relay=%s&secret=%s", svc.cfg.IdentityPubkey, svc.cfg.Relay, pairingSecretKey))
return c.Render(http.StatusOK, "apps/create.html", map[string]interface{}{
"User": user,
"PairingUri": pairingUri,