Add access-control-allow-origin header
This commit is contained in:
parent
6f14e15b7c
commit
1def759b43
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
require_once __DIR__ . "/FixPhrase.lib.php";
|
require_once __DIR__ . "/FixPhrase.lib.php";
|
||||||
|
|
||||||
|
header("Access-Control-Allow-Origin: *");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build and send a simple JSON response.
|
* Build and send a simple JSON response.
|
||||||
* @param string $msg A message
|
* @param string $msg A message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user