Skip to content

Commit

Permalink
enhance CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
sebiboga committed Jul 6, 2024
1 parent 8899f96 commit 4b88fb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion v0/getuser/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php
header("Access-Control-Allow-Origin: *");
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST');
header('Access-Control-Allow-Headers: *');

if (isset($_GET['user']))
{
Expand Down

0 comments on commit 4b88fb2

Please sign in to comment.