Skip to content

Commit

Permalink
fix(lnlambda): cleanup cors request headers
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Aug 18, 2022
1 parent 9a073a3 commit 2ea12a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/lnlambda/lib/src/lnlambda_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ class LNLambdaClient implements LightningClient {
params: params);
var response = await http.post(Uri.parse("$lambdaServer/lnsocket"),
headers: {
"Accept": "application/json",
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': '*',
'Content-Type': 'application/json; charset=UTF-8',
},
body: json.encode(request.toJSON()));
Expand Down

0 comments on commit 2ea12a1

Please sign in to comment.