Skip to content

Commit

Permalink
fix(lnlambda): fix header
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Aug 13, 2022
1 parent 560cd94 commit 645ff26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/lnlambda/lib/src/lnlambda_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class LNLambdaClient implements LightningClient {
var response = await http.post(Uri.parse("$lambdaServer/lnsocket"),
headers: {
"Accept": "application/json",
"Access-Control_Allow_Origin": "*",
'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 645ff26

Please sign in to comment.