Skip to content

Commit

Permalink
fix cors .well-known
Browse files Browse the repository at this point in the history
  • Loading branch information
Darecjo authored Nov 12, 2024
1 parent 7fb8d89 commit a4c99f3
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 a4c99f3

Please sign in to comment.