commit ca85f3e3d52564063dcbc8dbf0bc81fa72b54dd1
parent 40702905160f7b96c4f25b7b3811de17dcd3143d
author: nathanael <nathanael@dalliard.ch>
date: Fri, 23 Jan 2026 08:53:57 +0000
s1: add cors for lnaddr
diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/s1/sysfiles/relayd.conf b/s1/sysfiles/relayd.conf
@@ -16,6 +16,7 @@ http protocol https {
match response header set "Permissions-Policy" value \
"geolocation=(), microphone=(), camera=()"
+ match request url "dalliard.ch/.well-known/lnurlp/" tag "cors"
match request url "dalliard.ch/.well-known/nostr.json" tag "cors"
match request url "dalliard.ch/.well-known/openpgpkey/" tag "cors"
match response tagged "cors" header set "Access-Control-Allow-Origin" \