From e9d51fe79463e9a80dbbbb5257b010bf9f4a4332 Mon Sep 17 00:00:00 2001 From: yuuki <> Date: Sun, 9 Jun 2024 14:59:36 +0000 Subject: [PATCH] =?UTF-8?q?=E3=81=82=E3=82=93=E3=81=BE=E3=82=8A=E6=84=8F?= =?UTF-8?q?=E5=91=B3=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index ddf6a55..517cd20 100644 --- a/app.py +++ b/app.py @@ -59,7 +59,7 @@ async def cloudflare(zone_id: str, x_token: Union[str, None] = Header()): }) ) - res = JSONResponse(result.json(), result.status_code) + res = JSONResponse(result.json()) res.headers["Cache-Control"] = f"public, max-age=60, s-maxage=60" res.headers["CDN-Cache-Control"] = f"max-age=60" return res