Skip to content

Commit

Permalink
Added Headers To CORS Username Requests
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaiahJTurner committed Jun 17, 2014
1 parent c884746 commit e487593
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/username.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
header("Access-Control-Allow-Origin: http://chill.homeworkhunt.com");
header("Access-Control-Allow-Credentials: true");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");

header("Content-Type: application/json");

Expand Down

0 comments on commit e487593

Please sign in to comment.