pull down to refresh
Proxy the request to the destination LN address?
Thank you, that sounds like what I think I'm trying to do. Can you point me in the right direction for where I can learn more about this? Thank you.
reply
Depends on your application server. You might need to nginx proxy, or if it's a little more complex you might need a script to do the lookup.
301/302 redirects are quite standards web server behaviours, but you will have to do a lookup initially to know where to redirect to.
So some application coding might be needed.
reply
I've asked this to fiatjaf in the past and the response was that redirect is a cancer and it's not supported by spec. (Paraphrasing ) But some clients might follow the redirection.
reply
Good to know! I figure proxy is the way.
reply
Proxy the request to the destination LN address?
Or try 301/302 redirect. No idea if the spec or clients support redirects.