allen 3 gadi atpakaļ
vecāks
revīzija
fd95e681da
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      public/index.php

+ 1 - 0
public/index.php

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