From 8edae516dd28d7efc0f151a342b939580636b9ae Mon Sep 17 00:00:00 2001 From: huangguancheng Date: Fri, 10 Jan 2025 15:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B7=A8=E5=9F=9F=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/route.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/route.php b/config/route.php index 15ce856..b56cd8a 100644 --- a/config/route.php +++ b/config/route.php @@ -148,7 +148,7 @@ Route::group('/googleads', function () { Route::post('/refresh_token_test', [OAuthController::class, 'testRefreshToken']); Route::post('/refresh_token_revoke', [OAuthController::class, 'revokeRefreshToken']); })->middleware([ -// app\middleware\JwtLocal::class, + app\middleware\JwtLocal::class, ]); }); @@ -211,7 +211,7 @@ Route::fallback(function (Request $request) { 'Access-Control-Allow-Credentials' => 'true', 'Access-Control-Allow-Origin' => "*", 'Access-Control-Allow-Methods' => '*', - 'Access-Control-Allow-Headers' => 'Authorization, Content-Length, X-CSRF-Token, Accept, Origin, Host, Connection, Accept-Encoding, Accept-Language, Keep-Alive, User-Agent, Content-Type', + 'Access-Control-Allow-Headers' => 'Authorization, Content-Length, X-CSRF-Token,X-Request-Id, Accept, Origin, Host, Connection, Accept-Encoding, Accept-Language, Keep-Alive, User-Agent, Content-Type', ]); return $response; });