From af6d330f813e1b33f37422359a1185d56845f997 Mon Sep 17 00:00:00 2001 From: Enoch Date: Fri, 8 Nov 2024 00:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9etag=E4=BB=A5=E7=AC=A6?= =?UTF-8?q?=E5=90=88bunny?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/Server.php b/app/controller/Server.php index e6c79b4..5b0ec77 100644 --- a/app/controller/Server.php +++ b/app/controller/Server.php @@ -103,7 +103,7 @@ class Server return redirect('/'); } if($source->type==0){ - $etag='"'.md5($source->source).'"'; + $etag='W/"'.md5($source->source).'"'; $if_none_match = $request->header('If-None-Match',null); if($if_none_match==$etag){ return response('',304); -- 2.36.6