From dd6751fe6699e297fb870c4a29254ca0f00914b6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 14 Jan 2022 04:36:34 +0200 Subject: [PATCH] bb --- files/routes/admin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 9df7d5153..fed71742a 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -384,7 +384,6 @@ def disable_signups(v): @admin_level_required(3) def purge_cache(v): response = str(requests.post(f'https://api.cloudflare.com/client/v4/zones/{CF_ZONE}/purge_cache', headers=CF_HEADERS, data={"purge_everything":"true"})) - print(response) if response == "": return {"message": "Cache purged!"} return {"error": "Failed to purge cache."}