Skip to content

Commit

Permalink
Merge 110e512 into 24f05d8
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster authored Feb 15, 2023
2 parents 24f05d8 + 110e512 commit 9d695b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tinyphone/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ struct TinyPhoneMiddleware
res.add_header("Access-Control-Allow-Origin", "*");
res.add_header("Access-Control-Allow-Methods", "OPTIONS, GET, HEAD, POST, PUT, DELETE");
res.add_header("Access-Control-Request-Headers", "Content-Type");
res.add_header("Access-Control-Allow-Headers", "Content-Type");
res.end();
}
}
Expand Down

0 comments on commit 9d695b7

Please sign in to comment.