浏览代码

青爻公众号

cqp 10 月之前
父节点
当前提交
c844c84ad7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config/cors.php

+ 1 - 1
config/cors.php

@@ -21,7 +21,7 @@ return [
      * You can enable CORS for 1 or multiple paths.
      * Example: ['api/*']
      */
-    'paths' => ['api/*','wxapi/*','wx/*'],
+    'paths' => ['api/*','wxapi/*','wx/*','weixin/*'],
 
     /*
     * Matches the request method. `[*]` allows all methods.