mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-14 02:01:06 +03:30
fix cors origin
This commit is contained in:
@@ -11,7 +11,7 @@ class Cors
|
|||||||
public function handle($request, Closure $next)
|
public function handle($request, Closure $next)
|
||||||
{
|
{
|
||||||
return $next($request)
|
return $next($request)
|
||||||
->header('Access-Control-Allow-Origin', '*')
|
// ->header('Access-Control-Allow-Origin', '*')
|
||||||
->header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
|
->header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user