Skip to content

Commit

Permalink
Merge pull request #2 from Darecjo/master
Browse files Browse the repository at this point in the history
fix cors .well-known
  • Loading branch information
rolznz authored Nov 12, 2024
2 parents 7fb8d89 + a4c99f3 commit 8970270
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ const nextConfig = {
},
],
},
{
source: '/.well-known/lnurlp/:path*',
headers: [
{
key: 'Access-Control-Allow-Origin',
value: '*',
},
{
key: 'Access-Control-Allow-Methods',
value: 'GET, POST, PUT, DELETE, OPTIONS',
},
],
},
];
},
};
Expand Down

0 comments on commit 8970270

Please sign in to comment.