Skip to content

Commit c78d504

Browse files
remove additional cors header
1 parent a580c2d commit c78d504

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

stats.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
header("Access-Control-Allow-Origin: *");
3-
42
if (!isset($_POST)) {
53
return;
64
}
@@ -40,4 +38,4 @@
4038
}
4139

4240

43-
file_put_contents("./stats.json", json_encode($json));
41+
file_put_contents("./stats.json", json_encode($json));

0 commit comments

Comments
 (0)