黄宗昌 2 년 전
부모
커밋
5e082c8285
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      app/Http/Controllers/V1/ProductController.php

+ 0 - 1
app/Http/Controllers/V1/ProductController.php

@@ -19,7 +19,6 @@ class ProductController extends Controller
 {
 {
     public function __construct()
     public function __construct()
     {
     {
-        header('Access-Control-Allow-Origin:*'); // *代表允许任何网址请求
         $this->user = auth('api')->user();
         $this->user = auth('api')->user();
         $this->userId = $this->user ? $this->user->id : 0;
         $this->userId = $this->user ? $this->user->id : 0;