stanley-king 4 anni fa
parent
commit
acb9764445
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      public/index.php

+ 1 - 1
public/index.php

@@ -14,7 +14,7 @@ namespace think;
 
 
 if($_SERVER['REQUEST_METHOD'] == 'OPTIONS') {
-    header("Access-Control-Allow-Origin: *");
+    header("Access-Control-Allow-Origin: http://177.22.45.193");
     header("Access-Control-Allow-Headers:DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type, Accept-Language, Origin, Accept-Encoding");
     header('Access-Control-Allow-Methods: GET, POST, PUT,DELETE,OPTIONS,PATCH');
     header("Access-Control-Allow-Credentials: true");