Skip to content

Commit

Permalink
fix cors
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasnteireho committed Sep 18, 2024
1 parent 3730740 commit 1d8290a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bad-answer-alert.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST');
header("Access-Control-Allow-Headers: X-Requested-With");

$config = parse_ini_file($path . '/config_env.ini');
$service_email = $config['SERVICE_EMAIL'];
Expand Down

0 comments on commit 1d8290a

Please sign in to comment.