From d50a3f9f5bb7ddb889a1c04b21576d0315b13be7 Mon Sep 17 00:00:00 2001 From: velz Date: Mon, 9 Feb 2026 14:22:44 +0530 Subject: [PATCH] FIX_SECURITY1 --- app/Filters/Cors.php | 2 +- app/Views/layout/header.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Filters/Cors.php b/app/Filters/Cors.php index bb8d5b8..c9ea212 100644 --- a/app/Filters/Cors.php +++ b/app/Filters/Cors.php @@ -38,7 +38,7 @@ class Cors implements FilterInterface * * @var string */ - protected string $allowedMethods = 'GET,POST,PUT,PATCH,DELETE,OPTIONS'; + protected string $allowedMethods = 'GET,POST,OPTIONS'; /** * HTTP headers allowed in CORS requests diff --git a/app/Views/layout/header.php b/app/Views/layout/header.php index 586695f..7bd6b71 100755 --- a/app/Views/layout/header.php +++ b/app/Views/layout/header.php @@ -51,7 +51,7 @@ - + @@ -59,7 +59,7 @@ - +