diff --git a/app/Middleware/CorsMiddleware.php b/app/Middleware/CorsMiddleware.php index 4bbc29e..168e063 100644 --- a/app/Middleware/CorsMiddleware.php +++ b/app/Middleware/CorsMiddleware.php @@ -15,7 +15,7 @@ public function handle(Request $request, Closure $next) header('Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS'); header('Access-Control-Allow-Headers: Origin, Content-Type, Accept, Authorization, Token'); header('Origin: ' . baseurl()); - header('Vary: Accept-Encoding, Origin'); + header('Vary: Accept-Encoding, Origin, User-Agent'); if ($request->method() != 'OPTIONS') { return $next($request);