fix cors origin

This commit is contained in:
mahdi1113
2024-04-17 09:33:30 +03:30
parent bdf2d25446
commit 8d51be6b46
+1 -1
View File
@@ -11,7 +11,7 @@ class Cors
public function handle($request, Closure $next)
{
return $next($request)
->header('Access-Control-Allow-Origin', '*')
// ->header('Access-Control-Allow-Origin', '*')
->header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
}