stanley-king 4 years ago
parent
commit
9c609eca22
1 changed files with 2 additions and 1 deletions
  1. 2 1
      helper/fcgi_server.php

+ 2 - 1
helper/fcgi_server.php

@@ -110,7 +110,8 @@ class fcgi_server
                 {
                     fcgi_header("Content-Type: text/html; charset=UTF-8");
                     fcgi_header("Access-Control-Allow-Credentials: true");
-                    fcgi_header("Access-Control-Allow-Origin: http://192.168.1.200:3333");
+//                    fcgi_header("Access-Control-Allow-Origin: http://192.168.1.200:3333");
+                    fcgi_header("Access-Control-Allow-Origin: http://localhost:3333");
                     fcgi_header('Access-Control-Allow-Methods: GET, POST, PUT,DELETE,PATCH');
                     if(self::is_exclude($file)) {
                         include $file;