Skip to content

Release version 1.3.4

Latest
Compare
Choose a tag to compare
@nguyenanhung nguyenanhung released this 30 Oct 16:24
d6f2452

Full Changelog: v1.3.3...v1.3.4

Fix response CORS Origin

Before

        return $next($request)
            ->header('Access - Control - Allow - Origin', $origin)
            ->header('Access - Control - Allow - Methods', 'GET, POST, PUT, DELETE, OPTIONS')
            ->header('Access - Control - Allow - Headers', 'Content - Type, Authorization');

After

        return $next($request)
            ->header('Access-Control-Allow-Origin', $origin)
            ->header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS')
            ->header('Access-Control-Allow-Headers', 'Content-Type, Authorization');