From 24aa32dedff6242286b43457a7b6e48e3f081a95 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GBA0BK8\\Admin" Date: Tue, 18 Apr 2023 16:37:13 -0400 Subject: [PATCH] remove header --- www-api/app/Controllers/WrenchApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/WrenchApi.php b/www-api/app/Controllers/WrenchApi.php index 60c99471..78e479cb 100644 --- a/www-api/app/Controllers/WrenchApi.php +++ b/www-api/app/Controllers/WrenchApi.php @@ -253,7 +253,7 @@ class WrenchApi extends BaseController return $in; } public function apigate(){ - +/* //$request = service('request'); header('Access-Control-Allow-Origin: *'); //header("Access-Control-Allow-Origin: http://localhost:9057 "); @@ -262,7 +262,7 @@ class WrenchApi extends BaseController //header("Access-Control-Allow-Headers: Cache-Control, Pragma, Origin, Authorization, Content-Type, X-Requested-With"); header('Access-Control-Allow-Methods: POST, GET, PUT, DELETE, OPTIONS'); header('Content-type: application/json'); - +*/ // what is the endpoint $uri = urldecode(current_url(true)); $findme = '?';