stanley-king před 4 roky
rodič
revize
0f5a71a47a
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      helper/fcgi_server.php

+ 1 - 0
helper/fcgi_server.php

@@ -111,6 +111,7 @@ 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-Methods: GET, POST, PUT,DELETE,PATCH');
                     if(self::is_exclude($file)) {
                         include $file;
                     }