allen 3 vuotta sitten
vanhempi
commit
fd95e681da
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      public/index.php

+ 1 - 0
public/index.php

@@ -4,6 +4,7 @@ namespace think;
 
 
 use think\admin\service\SystemService;
 use think\admin\service\SystemService;
 
 
+header("Access-Control-Allow-Origin: *");
 // 加载基础文件
 // 加载基础文件
 require __DIR__ . '/../vendor/autoload.php';
 require __DIR__ . '/../vendor/autoload.php';
 // WEB应用初始化
 // WEB应用初始化