relax CORS on lnurlp (eg nostr browser clients)

This commit is contained in:
keyan 2023-01-25 11:43:58 -06:00
parent ceac96e149
commit 8b6829df50
1 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,12 @@ module.exports = withPlausibleProxy()({
headers: [ headers: [
...corsHeaders ...corsHeaders
] ]
},
{
source: '/api/lnurlp/:slug*',
headers: [
...corsHeaders
]
} }
] ]
}, },