@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | $http_origin = $_SERVER['HTTP_ORIGIN']; |
| 4 | -if ($http_origin == "http://localhost:8080" || $http_origin == "https://minska.eliareutlinger.ch"){ |
|
| 4 | +if ($http_origin == "http://localhost:8080" || $http_origin == "https://minska.eliareutlinger.ch") { |
|
| 5 | 5 | header("Access-Control-Allow-Origin: $http_origin"); |
| 6 | 6 | } |
| 7 | 7 | |