Merge pull request 'fix cors origin' (#9) from feature/cors-origin into master

Reviewed-on: https://git.willaspace.com/external-projects/cssd-back/pulls/9
This commit is contained in:
saeid_01
2024-04-17 06:36:51 +00:00
+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');
}