ee
Showing
1 changed file
with
6 additions
and
0 deletions
| ... | @@ -22,6 +22,12 @@ | ... | @@ -22,6 +22,12 @@ |
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | header('Access-Control-Allow-Origin: *'); | ||
| 26 | header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, OPTIONS'); | ||
| 27 | header('Access-Control-Allow-Headers: Origin, Content-Type, X-Auth-Token'); | ||
| 28 | |||
| 29 | |||
| 30 | |||
| 25 | require __DIR__.'/../bootstrap/autoload.php'; | 31 | require __DIR__.'/../bootstrap/autoload.php'; |
| 26 | 32 | ||
| 27 | /* | 33 | /* | ... | ... |
-
Please register or sign in to post a comment