This commit is contained in:
iVampireSP.com 2022-08-27 11:42:48 +08:00
parent 85708ecd61
commit 1e243b55c5
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -21,8 +21,7 @@ public function handle(Request $request, Closure $next)
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Credentials: true');
header('Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS');
header('Access-Control-Allow-Headers: Origin, Content-Type, Accept, Authorization, X-Requested-With, X-CSRF-Token');
return $next($request);
}
}