zhangguidong 2 gadi atpakaļ
vecāks
revīzija
4cec8a0723
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      index.php

+ 2 - 0
index.php

@@ -20,6 +20,8 @@ header("Access-Control-Allow-Origin:*");
 header('Access-Control-Allow-Methods:GET, POST, PUT, DELETE');
 // 响应头设置
 header('Access-Control-Allow-Headers:x-requested-with, content-type');
+header('Access-Control-Allow-Headers:Origin,X-Requested-With, Content-Type, Accept, x-access-sign, x-access-time, uid,Access-Control-Allow-Credentials,Access-Token,access-token,token,access-control-allow-origin,Token,Access-Control-Allow-Origin,Content-Type,Referer,User-Agent');
+
 
 
 if (! file_exists('./install.lock')) {