Skip to content

Commit 9498908

Browse files
committed
CORS
1 parent 0c7eb9b commit 9498908

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jsonblob.php

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// This stops CORS issues
66
header("access-control-allow-origin: *");
77
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, X-Jsonblob, Allow");
8+
header("Access-Control-Expose-Headers: X-Jsonblob");
89
header("Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS");
910

1011
$METHOD = $_SERVER['REQUEST_METHOD'];

0 commit comments

Comments
 (0)